diff options
author | Tom Tromey <tromey@redhat.com> | 2006-02-08 18:06:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2006-02-08 18:06:11 +0000 |
commit | 855dd2bcff9e32e053bf66e336405ded26e9c927 (patch) | |
tree | 9a1df881ae846a312ad5ddcb0929d04574b40956 /libjava/gcj/javaprims.h | |
parent | 59c02d8a613e46512e852d54ab2ff9209f47acc7 (diff) | |
download | gcc-855dd2bcff9e32e053bf66e336405ded26e9c927.zip gcc-855dd2bcff9e32e053bf66e336405ded26e9c927.tar.gz gcc-855dd2bcff9e32e053bf66e336405ded26e9c927.tar.bz2 |
re PR java/22578 (should inline floatToIntBits et al)
gcc/java
PR java/22578:
* check-init.c (check_init): Handle VIEW_CONVERT_EXPR.
* builtins.c (convert_real): New function.
(java_builtins): Handle Float.intBitsToFloat,
Float.floatToRawIntBits, Double.longBitsToDouble,
Double.doubleToRawLongBits.
libjava
PR java/22578:
* gcj/javaprims.h: Updated.
* sources.am, Makefile.in: Rebuilt.
* java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
(doubleToRawLongBits): Likewise.
(longBitsToDouble): Likewise.
(toString): Likewise.
(parseDouble): Likewise.
* java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
(floatToRawIntBits): Likewise.
(intBitsToFloat): Likewise.
* java/lang/VMDouble.java: New file.
* java/lang/VMFloat.java: New file.
* java/lang/Float.java, java/lang/Double.java: Removed.
From-SVN: r110759
Diffstat (limited to 'libjava/gcj/javaprims.h')
-rw-r--r-- | libjava/gcj/javaprims.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/gcj/javaprims.h b/libjava/gcj/javaprims.h index c4f815f..f8c2ed6 100644 --- a/libjava/gcj/javaprims.h +++ b/libjava/gcj/javaprims.h @@ -1,7 +1,7 @@ // javaprims.h - Main external header file for libgcj. -*- c++ -*- -/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation This file is part of libgcj. @@ -218,6 +218,8 @@ extern "Java" class UnsupportedOperationException; class VMClassLoader; class VMCompiler; + class VMDouble; + class VMFloat; class VMSecurityManager; class VMThrowable; class VerifyError; |