diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-07-13 01:04:47 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-07-13 02:04:47 +0100 |
commit | 7a1c3d48ab726eba42466131a41ba02615f306ad (patch) | |
tree | 0284d7f8df8ee0213b5a149265daf403a862738c /libjava/include | |
parent | 066a03440a9bc7cbe8cbd364ee43ed8704561b25 (diff) | |
download | gcc-7a1c3d48ab726eba42466131a41ba02615f306ad.zip gcc-7a1c3d48ab726eba42466131a41ba02615f306ad.tar.gz gcc-7a1c3d48ab726eba42466131a41ba02615f306ad.tar.bz2 |
re PR libgcj/15713 (compile interpret.cc with -fno-strict-aliasing)
2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/15713
* include/jvm.h (_Jv_value): New union type.
* gcj/field.h (_Jv_Field): Add new _addr union field variants
* interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
union members.
From-SVN: r84596
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/jvm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index 9cc5916..7b5e984 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -114,6 +114,18 @@ union _Jv_word2 jdouble d; }; +union _Jv_value +{ + jbyte byte_value; + jshort short_value; + jchar char_value; + jint int_value; + jlong long_value; + jfloat float_value; + jdouble double_value; + jobject object_value; +}; + // An instance of this type is used to represent a single frame in a // backtrace. If the interpreter has been built, we also include // information about the interpreted method. |