diff options
author | Per Bothner <per@bothner.com> | 2002-02-20 11:53:49 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2002-02-20 11:53:49 -0800 |
commit | 9fe2cc05565353eb61325cf3a87f8fc78335d98c (patch) | |
tree | ba65439faed48f14d796ca4d44209a8468a5538e /gcc/java/java-tree.h | |
parent | f67e0d112d28a3caf2ea99b67078e6cb8a851fe8 (diff) | |
download | gcc-9fe2cc05565353eb61325cf3a87f8fc78335d98c.zip gcc-9fe2cc05565353eb61325cf3a87f8fc78335d98c.tar.gz gcc-9fe2cc05565353eb61325cf3a87f8fc78335d98c.tar.bz2 |
builtins.c (check_for_builtin): New function.
* 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).
From-SVN: r49909
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 dc5fd35..8f64ef2 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)); |