diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-20 19:53:49 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-20 19:53:49 +0000 |
commit | 85dce5fa4a312bb3b327a3ff007b6ce94efa5252 (patch) | |
tree | ba65439faed48f14d796ca4d44209a8468a5538e /gcc/java/java-tree.h | |
parent | 5b46873973d795000ffba7312c486c1e424fae03 (diff) | |
download | ppe42-gcc-85dce5fa4a312bb3b327a3ff007b6ce94efa5252.tar.gz ppe42-gcc-85dce5fa4a312bb3b327a3ff007b6ce94efa5252.zip |
* builtins.c (check_for_builtin): New function.
(build_call_or_builtin): Remove.
* java-tree.h: Update accordingly.
* expr.c (expand_invoke): Use build + check_for_builtin instead
of build_call_or_builtin.
* parse.y (patch_invoke): Likewise. This avoids needlessly creating
a new CALL_EXPR node, which means we don't lose the CALL_USING_SUPER
flag (which had caused jcf-write to incorrectly emit invokevirtual).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49909 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index dc5fd35e688..8f64ef2e9a4 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -1090,7 +1090,7 @@ extern HOST_WIDE_INT java_array_type_length PARAMS ((tree)); extern int read_class PARAMS ((tree)); extern void load_class PARAMS ((tree, int)); -extern tree build_call_or_builtin PARAMS ((tree, tree, tree)); +extern tree check_for_builtin PARAMS ((tree, tree)); extern void initialize_builtins PARAMS ((void)); extern tree lookup_name PARAMS ((tree)); |