mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Call stubcc.leave() on negative zero in JSOP_MOD, bug 649973.
This commit is contained in:
parent
8cd051ac8e
commit
bdbe8ac1c6
6
js/src/jit-test/tests/jaeger/bug649824.js
Normal file
6
js/src/jit-test/tests/jaeger/bug649824.js
Normal file
@ -0,0 +1,6 @@
|
||||
var o = {
|
||||
w: 2,
|
||||
x: 3
|
||||
};
|
||||
var o = 430717;
|
||||
o.x = 4;
|
2
js/src/jit-test/tests/jaeger/bug649973.js
Normal file
2
js/src/jit-test/tests/jaeger/bug649973.js
Normal file
@ -0,0 +1,2 @@
|
||||
x = 2147483647;
|
||||
(x+10, false) ? [x % x] : [2 * x];
|
@ -1054,6 +1054,7 @@ mjit::Compiler::jsop_mod()
|
||||
|
||||
if (gotNegZero.isSet()) {
|
||||
stubcc.linkExit(gotNegZero.getJump(), Uses(2));
|
||||
stubcc.leave();
|
||||
OOL_STUBCALL(stubs::NegZeroHelper);
|
||||
stubcc.rejoin(Changes(1));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user