aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2000-05-03 18:09:27 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-05-03 18:09:27 +0000
commitdd5d628184dfb8c460ad01a480a366d735ba6f4f (patch)
tree3e04a4bb49ef6a42d094bc95768fa8e79e19dadf /gcc/java/jcf.h
parent8c8de5fc10d0c5bc658de7f2dfc75c33b1fb541d (diff)
downloadgcc-dd5d628184dfb8c460ad01a480a366d735ba6f4f.zip
gcc-dd5d628184dfb8c460ad01a480a366d735ba6f4f.tar.gz
gcc-dd5d628184dfb8c460ad01a480a366d735ba6f4f.tar.bz2
expr.c (build_java_jsr): Use emit_jump, not expand_goto.
* 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. From-SVN: r33636
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 d909b2c..9bd8a7c 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) \