aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lang.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-09-29 19:16:46 -0700
committerPer Bothner <bothner@gcc.gnu.org>2004-09-29 19:16:46 -0700
commitde39930392eda3a8a298e70d07f997eba84c5afe (patch)
treefbb1057171256a79143187457974d34107bf3d8f /gcc/java/lang.c
parentd68acc044e8b214f490718612e1c2d1a122813eb (diff)
downloadgcc-de39930392eda3a8a298e70d07f997eba84c5afe.zip
gcc-de39930392eda3a8a298e70d07f997eba84c5afe.tar.gz
gcc-de39930392eda3a8a298e70d07f997eba84c5afe.tar.bz2
check-init.c (check_init): Handle USE_MAPPED_LOCATION case.
* check-init.c (check_init): Handle USE_MAPPED_LOCATION case. * decl.c (finish_method, java_add_stmt): Likewise. * java-gimplify.c (java-gimplify.c): Likewise. * jcf-write.c (generate_bytecode_insns): Likewise. * lang.c (java_post_options): Likewise - call linemap_add. From-SVN: r88324
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r--gcc/java/lang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index d1c6977..3e4ba49 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -668,6 +668,10 @@ java_post_options (const char **pfilename)
}
}
}
+#ifdef USE_MAPPED_LOCATION
+ linemap_add (&line_table, LC_ENTER, false, filename, 0);
+ linemap_add (&line_table, LC_RENAME, false, "<built-in>", 0);
+#endif
/* Initialize the compiler back end. */
return false;