mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 16:30:19 +02:00
avoid "value computed is not used" in jit_allocai
2008-03-14 Paolo Bonzini <bonzini@gnu.org> * lightning/i386/core-32.h: Avoid some "value computed is not used" warnings; reported by Sam Steingold.
This commit is contained in:
parent
d369edf15d
commit
15a23d2a7c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-03-14 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
|
* lightning/i386/core-32.h: Avoid some "value computed is not used"
|
||||||
|
warnings; reported by Sam Steingold.
|
||||||
|
|
||||||
2008-03-08 Paolo Bonzini <bonzini@gnu.org>
|
2008-03-08 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
* lightning/i386/core-32.h: Fix stxr_c(_EAX, _EBX, _ESI).
|
* lightning/i386/core-32.h: Fix stxr_c(_EAX, _EBX, _ESI).
|
||||||
|
|
|
@ -54,8 +54,8 @@ struct jit_local_state {
|
||||||
|
|
||||||
#define jit_allocai_internal(amount, slack) \
|
#define jit_allocai_internal(amount, slack) \
|
||||||
(((amount) < _jitl.alloca_slack \
|
(((amount) < _jitl.alloca_slack \
|
||||||
? 0 \
|
? (void)0 \
|
||||||
: (_jitl.alloca_slack += (amount) + (slack), \
|
: (void)(_jitl.alloca_slack += (amount) + (slack), \
|
||||||
((amount) + (slack) == sizeof (int) \
|
((amount) + (slack) == sizeof (int) \
|
||||||
? PUSHLr(_EAX) \
|
? PUSHLr(_EAX) \
|
||||||
: SUBLir((amount) + (slack), _ESP)))), \
|
: SUBLir((amount) + (slack), _ESP)))), \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue