builtins.c (cos_builtin, [...]): Delete.
authorRoger Sayle <roger@eyesopen.com>
Thu, 29 May 2003 16:38:04 +0000 (16:38 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 29 May 2003 16:38:04 +0000 (16:38 +0000)
commit833e1a77244310aad1be0a548c871705de725edc
tree536f1d0a63b9093a0997aef1b5d7aba9b9f3d66c
parent0b82d59c030f40cc0d65beda7ead902cb4402bb0
builtins.c (cos_builtin, [...]): Delete.

* builtins.c (cos_builtin, sin_builtin, sqrt_builtin): Delete.
(builtin_record): Add an additional builtin_code field to
record which GCC built-in corresponds to the Java function.
(java_builtins):  Add new entries for atan, atan2, exp, log,
pow and tan.
(max_builtin, min_builtin, abs_builtin): Perform constant
folding on the resulting tree.
(java_build_function_call_expr): Likewise, perform constant
folding on the resulting tree.
(initialize_builtins): The NULL creators are now allowed in
the java_builtins table, which is now terminated by an entry
with builtin_code == END_BUILTINS.
(check_for_builtin): Likewise.  If the matching creator is
NULL, construct the call using java_build_function_call_expr
directly with the decl for the corresponding builtin_code.

From-SVN: r67225
gcc/java/ChangeLog
gcc/java/builtins.c