diff options
Diffstat (limited to 'gcc/python/py-builtins.c')
-rw-r--r-- | gcc/python/py-builtins.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/python/py-builtins.c b/gcc/python/py-builtins.c index c4af0d12806..b65e232fe38 100644 --- a/gcc/python/py-builtins.c +++ b/gcc/python/py-builtins.c @@ -48,17 +48,17 @@ static tree gpy_build_py_object_type (void); tree gpy_builtin_get_init_call (void) { - tree fntype = build_function_type( void_type_node, void_list_node ); - tree gpy_rr_init = build_decl( UNKNOWN_LOCATION, FUNCTION_DECL, + tree fntype = build_function_type (void_type_node, void_list_node); + tree gpy_rr_init = build_decl (UNKNOWN_LOCATION, FUNCTION_DECL, get_identifier("gpy_rr_init_runtime"), - fntype ); - tree restype = TREE_TYPE(gpy_rr_init); - tree resdecl = build_decl( UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, - restype ); - DECL_CONTEXT(resdecl) = gpy_rr_init; - DECL_RESULT(gpy_rr_init) = resdecl; - DECL_EXTERNAL( gpy_rr_init ) = 1; - TREE_PUBLIC( gpy_rr_init ) = 1; + fntype); + tree restype = TREE_TYPE (gpy_rr_init); + tree resdecl = build_decl (UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, + restype); + DECL_CONTEXT (resdecl) = gpy_rr_init; + DECL_RESULT (gpy_rr_init) = resdecl; + DECL_EXTERNAL (gpy_rr_init) = 1; + TREE_PUBLIC (gpy_rr_init) = 1; return build_call_expr (gpy_rr_init, 0, NULL_TREE); } |