* builtins.c (cos_builtin, sin_builtin, sqrt_builtin): Delete.
commit1799e0bd51f0cae23befa0ad371d1e0b8755b152
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 May 2003 16:38:04 +0000 (29 16:38 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 May 2003 16:38:04 +0000 (29 16:38 +0000)
tree536f1d0a63b9093a0997aef1b5d7aba9b9f3d66c
parent6060c5a7c68926be34842a070041743a7c6d6be8
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67225 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/builtins.c