avoid some 'has no effect' warnings in JIT macros

svn: r8210
This commit is contained in:
Matthew Flatt 2008-01-04 19:45:09 +00:00
parent 77e126f085
commit dfe1a79a69

View File

@ -281,9 +281,9 @@ union jit_double_imm {
PUSHLr(_EAX), \ PUSHLr(_EAX), \
FNSTSWr(_EAX), \ FNSTSWr(_EAX), \
SHRLir(n, _EAX), \ SHRLir(n, _EAX), \
((_and) ? ANDLir ((_and), _EAX) : 0), \ (void)((_and) ? ANDLir ((_and), _EAX) : 0), \
((cmp) ? CMPLir ((cmp), _AL) : 0), \ ((cmp) ? CMPLir ((cmp), _AL) : 0), \
POPLr(_EAX), \ (void) POPLr(_EAX), \
res ((d), 0, 0, 0), _jit.x.pc) res ((d), 0, 0, 0), _jit.x.pc)
#define jit_fp_test_fppop(d, n, _and, res) \ #define jit_fp_test_fppop(d, n, _and, res) \
@ -295,13 +295,13 @@ union jit_double_imm {
res, \ res, \
((d) != _EAX ? _O (0x90 + ((d) & 7)) : 0)) /* xchg */ ((d) != _EAX ? _O (0x90 + ((d) & 7)) : 0)) /* xchg */
#define jit_fp_btest_fppop(d, n, _and, cmp, res) \ #define jit_fp_btest_fppop(d, n, _and, cmp, res) \
(FUCOMPPr(1), \ (FUCOMPPr(1), \
PUSHLr(_EAX), \ PUSHLr(_EAX), \
FNSTSWr(_EAX), \ FNSTSWr(_EAX), \
SHRLir(n, _EAX), \ SHRLir(n, _EAX), \
((_and) ? ANDLir ((_and), _EAX) : 0), \ (void)((_and) ? ANDLir ((_and), _EAX) : 0), \
((cmp) ? CMPLir ((cmp), _AL) : 0), \ (void)((cmp) ? CMPLir ((cmp), _AL) : 0), \
POPLr(_EAX), \ POPLr(_EAX), \
res ((d), 0, 0, 0), _jit.x.pc) res ((d), 0, 0, 0), _jit.x.pc)