Commit 03c8cb4c authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent d268a44f
......@@ -7981,8 +7981,7 @@ class CnameDecoratorNode(StatNode):
#------------------------------------------------------------------------------------
if Options.gcc_branch_hints:
branch_prediction_macros = \
"""
branch_prediction_macros = """
#ifdef __GNUC__
/* Test for GCC > 2.95 */
#if __GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95))
......@@ -7996,26 +7995,18 @@ if Options.gcc_branch_hints:
#define likely(x) (x)
#define unlikely(x) (x)
#endif /* __GNUC__ */
"""
"""
else:
branch_prediction_macros = \
"""
branch_prediction_macros = """
#define likely(x) (x)
#define unlikely(x) (x)
"""
#get_name_predeclaration = \
#"static PyObject *__Pyx_GetName(PyObject *dict, char *name); /*proto*/"
#get_name_interned_predeclaration = \
#"static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/"
"""
#------------------------------------------------------------------------------------
printing_utility_code = UtilityCode.load_cached("Print", "Printing.c")
printing_one_utility_code = UtilityCode.load_cached("PrintOne", "Printing.c")
#------------------------------------------------------------------------------------
# Exception raising code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment