mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Don't call syncData for known doubles, bug 642198. r=bhackett
This commit is contained in:
parent
5db6d556af
commit
7402e9d136
9
js/src/jit-test/tests/jaeger/bug642198.js
Normal file
9
js/src/jit-test/tests/jaeger/bug642198.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
function test() {
|
||||
for(var e=1.2; true; e=20.2) {
|
||||
if (e > 10)
|
||||
break;
|
||||
}
|
||||
}
|
||||
test();
|
||||
|
@ -647,7 +647,7 @@ FrameState::syncForBranch(jsbytecode *target, Uses uses)
|
||||
|
||||
JS_ASSERT_IF(!fe->isType(JSVAL_TYPE_DOUBLE), fe->type.synced());
|
||||
if (!fe->data.synced() && alloc->synced(reg))
|
||||
syncData(fe);
|
||||
syncFe(fe);
|
||||
|
||||
if (fe->dataInRegister(reg))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user