diff options
| author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-13 01:04:47 +0000 |
|---|---|---|
| committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-13 01:04:47 +0000 |
| commit | f577d6c495eccbc619791bdde8af4409eea15d72 (patch) | |
| tree | 0284d7f8df8ee0213b5a149265daf403a862738c /libjava/include | |
| parent | 634f6ce0054a91c86911ba2bad323c3f2feb9ff6 (diff) | |
| download | ppe42-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.h | 12 |
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. |

