summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-13 01:04:47 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-13 01:04:47 +0000
commitf577d6c495eccbc619791bdde8af4409eea15d72 (patch)
tree0284d7f8df8ee0213b5a149265daf403a862738c /libjava/include
parent634f6ce0054a91c86911ba2bad323c3f2feb9ff6 (diff)
downloadppe42-gcc-f577d6c495eccbc619791bdde8af4409eea15d72.tar.gz
ppe42-gcc-f577d6c495eccbc619791bdde8af4409eea15d72.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/jvm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index 9cc59160dda..7b5e9842c27 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.
OpenPOWER on IntegriCloud