summaryrefslogtreecommitdiff
path: root/gcc/java/jcf.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-03 18:09:27 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-03 18:09:27 +0000
commit5bd9bc3c34f42c5e1e5c0ee5c01cc16f2fcbe031 (patch)
tree3e04a4bb49ef6a42d094bc95768fa8e79e19dadf /gcc/java/jcf.h
parenta727a9112fe4704bddf60f335d7fb463856bdc6c (diff)
downloadgcc-5bd9bc3c34f42c5e1e5c0ee5c01cc16f2fcbe031.tar.gz
* expr.c (build_java_jsr): Use emit_jump, not expand_goto.
* javaop.h (WORD_TO_INT): New function. (IMMEDIATE_s4): Use WORD_TO_INT. * jcf.h (JPOOL_INT): Ditto. * gjavah.c (decode_signature_piece): Don't treat `$' as namespace separator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33636 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r--gcc/java/jcf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h
index d909b2cf6a9..9bd8a7cd0c0 100644
--- a/gcc/java/jcf.h
+++ b/gcc/java/jcf.h
@@ -131,7 +131,7 @@ typedef struct JCF {
#define JPOOL_UTF_DATA(JCF, INDEX) \
((JCF)->buffer+JPOOL_UINT(JCF, INDEX)+2)
#endif
-#define JPOOL_INT(JCF, INDEX) ((jint) JPOOL_UINT (JCF, INDEX))
+#define JPOOL_INT(JCF, INDEX) (WORD_TO_INT(JPOOL_UINT (JCF, INDEX)))
#define JPOOL_FLOAT(JCF, INDEX) WORD_TO_FLOAT (JPOOL_UINT (JCF, INDEX))
#define CPOOL_INDEX_IN_RANGE(CPOOL, INDEX) \