mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Fix test for when double entries need to be forgotten after branching to a location their type is unknown, bug 684576.
This commit is contained in:
parent
2ac6308262
commit
d78ee3ef8a
10
js/src/jit-test/tests/jaeger/bug684576.js
Normal file
10
js/src/jit-test/tests/jaeger/bug684576.js
Normal file
@ -0,0 +1,10 @@
|
||||
// |jit-test| error: TypeError
|
||||
function f0(p0,p1) {
|
||||
var v3;
|
||||
do {
|
||||
p1 > v3
|
||||
v3=1.7
|
||||
} while (((p0[p1][5]==1)||(p0[p1][5]==2)||(p0[p1][5] == 3)) + 0 > p0);
|
||||
+ (v3(f0));
|
||||
}
|
||||
f0(4105,8307);
|
@ -7092,7 +7092,7 @@ mjit::Compiler::fixDoubleTypes(jsbytecode *target)
|
||||
} else {
|
||||
JS_ASSERT(vt.type == JSVAL_TYPE_DOUBLE);
|
||||
}
|
||||
} else if (fe->isType(JSVAL_TYPE_DOUBLE)) {
|
||||
} else if (vt.type == JSVAL_TYPE_DOUBLE) {
|
||||
fixedDoubleToAnyEntries.append(newv->slot);
|
||||
frame.syncAndForgetFe(fe);
|
||||
frame.forgetLoopReg(fe);
|
||||
|
Loading…
Reference in New Issue
Block a user