mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 511051 - TM/nanojit: use NULL as the condition for unconditional guards, again. r=gal.
This commit is contained in:
parent
5adc17c6a5
commit
0abd6c54da
@ -10077,7 +10077,7 @@ TraceRecorder::enterDeepBailCall()
|
||||
|
||||
// Tell nanojit not to discard or defer stack writes before this call.
|
||||
LIns* guardRec = createGuardRecord(exit);
|
||||
lir->insGuard(LIR_xbarrier, guardRec, guardRec);
|
||||
lir->insGuard(LIR_xbarrier, NULL, guardRec);
|
||||
}
|
||||
|
||||
JS_REQUIRES_STACK void
|
||||
|
@ -255,6 +255,7 @@ namespace nanojit
|
||||
|
||||
LInsp LirBufWriter::insGuard(LOpcode op, LInsp c, LInsp data)
|
||||
{
|
||||
debug_only( if (LIR_x == op || LIR_xbarrier == op) NanoAssert(!c); )
|
||||
return ins2(op, c, data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user