Commit bad1e2ac by Tom Tromey Committed by Tom Tromey

javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.

	* javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.
	(WORDS_TO_LONG): Likewise.
	(WORDS_TO_DOUBLE): Likewise.

From-SVN: r29593
parent c7d04f29
1999-09-22 Tom Tromey <tromey@cygnus.com>
* javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.
(WORDS_TO_LONG): Likewise.
(WORDS_TO_DOUBLE): Likewise.
1999-09-15 Andreas Schwab <schwab@suse.de> 1999-09-15 Andreas Schwab <schwab@suse.de>
* Makefile.in (parse.o): Depend on $(JAVA_TREE_H). * Makefile.in (parse.o): Depend on $(JAVA_TREE_H).
......
...@@ -102,20 +102,14 @@ union Word { ...@@ -102,20 +102,14 @@ union Word {
| (BCODE[PC-2] << 8) | (BCODE[PC-1])))) | (BCODE[PC-2] << 8) | (BCODE[PC-1]))))
#endif #endif
#ifdef __GNUC__ static inline jfloat
__inline
#endif
static jfloat
WORD_TO_FLOAT(jword w) WORD_TO_FLOAT(jword w)
{ union Word wu; { union Word wu;
wu.i = w; wu.i = w;
return wu.f; return wu.f;
} }
#ifdef __GNUC__ static inline jlong
__inline
#endif
static jlong
WORDS_TO_LONG(jword hi, jword lo) WORDS_TO_LONG(jword hi, jword lo)
{ {
return ((jlong) hi << 32) | ((jlong)lo & (((jlong)1 << 32) -1)); return ((jlong) hi << 32) | ((jlong)lo & (((jlong)1 << 32) -1));
...@@ -127,10 +121,7 @@ union DWord { ...@@ -127,10 +121,7 @@ union DWord {
jword w[2]; jword w[2];
}; };
#ifdef __GNUC__ static inline jdouble
__inline
#endif
static jdouble
WORDS_TO_DOUBLE(jword hi, jword lo) WORDS_TO_DOUBLE(jword hi, jword lo)
{ union DWord wu; { union DWord wu;
wu.l = WORDS_TO_LONG(hi, lo); wu.l = WORDS_TO_LONG(hi, lo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment