diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-06-14 17:33:32 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-06-14 17:33:32 +0000 |
commit | ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6 (patch) | |
tree | 3a642a41fe4a4649fb76618134dd1dd6cab8d451 /gcc/java/resource.c | |
parent | 2fbe6bc2ba00c56ea66269ba842278764bd89c8e (diff) | |
download | gcc-ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6.zip gcc-ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6.tar.gz gcc-ee6b0296b84001a2f69ddebc43d32e4f1e83f1a6.tar.bz2 |
tree.h (init_function_start): Remove filename and line paramters.
* tree.h (init_function_start): Remove filename and line paramters.
* function.c (init_function_start): Remove filename and line
parameters. Use DECL_SOURCE_LOCATION.
* c-decl.c (store_parm_decls): Adjust init_function_start call.
(c_expand_body_1): Likewise.
* coverage.c (create_coverage): Likewise.
* ada/utils.c (begin_subprog_body): Adjust init_function_start
call.
* cp/decl.c (start_function): Adjust init_function_start call.
* cp/method.c (use_thunk): Likewise.
* cp/semantics.c (genrtl_start_function): Likewise.
* f/com.c (stor_parm_decls): Adjust init_function_start call.
* java/class.c (emit_register_classes): Adjust init_function_start
call.
* java/decl.c (complete_start_java_method): Likewise.
* java/resource.c (write_resource_constructor): Likewise.
* objc/objc-act.c (build_tmp_function_decl): Set line number to
zero.
(hack_method_prototype): Adjust init_function_start call.
* treelang/treetree.c (tree_code_create_function_initial): Adjust
init_function_start call.
From-SVN: r67953
Diffstat (limited to 'gcc/java/resource.c')
-rw-r--r-- | gcc/java/resource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/resource.c b/gcc/java/resource.c index 9e2b243..a1de225 100644 --- a/gcc/java/resource.c +++ b/gcc/java/resource.c @@ -113,6 +113,7 @@ write_resource_constructor (void) init_type = build_function_type (void_type_node, end_params_node); init_decl = build_decl (FUNCTION_DECL, init_name, init_type); + DECL_SOURCE_LINE (init_decl) = 0; SET_DECL_ASSEMBLER_NAME (init_decl, init_name); TREE_STATIC (init_decl) = 1; current_function_decl = init_decl; @@ -125,7 +126,7 @@ write_resource_constructor (void) pushlevel (0); make_decl_rtl (init_decl, NULL); - init_function_start (init_decl, input_filename, 0); + init_function_start (init_decl); expand_function_start (init_decl, 0); /* Write out entries in the same order in which they were defined. */ |