diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-08 18:06:11 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-08 18:06:11 +0000 |
commit | 1ec490b98436ed2d5d1891b8064107ad471ea7f3 (patch) | |
tree | 9a1df881ae846a312ad5ddcb0929d04574b40956 /libjava/gcj/javaprims.h | |
parent | 708dacc2a03e511e95eabce2bea0c274cdffd857 (diff) | |
download | gcc-1ec490b98436ed2d5d1891b8064107ad471ea7f3.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110759 138bc75d-0d04-0410-961f-82ee72b054a4
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 c4f815f4d6b..f8c2ed680c7 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; |