More cleanup for --enable-mapped-location.
authorPer Bothner <per@bothner.com>
Thu, 30 Sep 2004 23:23:52 +0000 (16:23 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Thu, 30 Sep 2004 23:23:52 +0000 (16:23 -0700)
commit6744f40032f27c47186a71c87342efbb07663f5b
tree79f94a67e76920084496be1c8982996a4fea29d5
parentde1041046f5bbd7ec8156777b3977d87113ef1db
More cleanup for --enable-mapped-location.

* class.c (push_class):  If USE_MAPPED_LOCATION don't set
input_location here.  Instead do it in give_name_to_class.
(build_class_ref):  Set DECL_ARTIFICIAL, for the sake of dwarf2out.
* expr.c (expand_byte_code): Call linemap_line_start.
* expr.c (build_expr_wfl):  If USE_MAPPED_LOCATION, change final
parameters to a source_location.  Don't need EXPR_WFL_FILENAME_NODE.
(expr_add_location):  New function, if USE_MAPPED_LOCATION.
* class.c (maybe_layout_super_class):  Adjust build_expr_wfl call
to USE_MAPPED_LOCATION case.

From-SVN: r88365
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/expr.c