OSDN Git Service

* builtins.c (check_for_builtin): New function.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Feb 2002 19:53:49 +0000 (19:53 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Feb 2002 19:53:49 +0000 (19:53 +0000)
commit85dce5fa4a312bb3b327a3ff007b6ce94efa5252
treeba65439faed48f14d796ca4d44209a8468a5538e
parent5b46873973d795000ffba7312c486c1e424fae03
* 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
gcc/java/ChangeLog
gcc/java/builtins.c
gcc/java/expr.c
gcc/java/java-tree.h
gcc/java/parse.y