mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
[INFER] FrameState::isEntryCopied shouldn't look at entries not on the stack, bug 640102.
This commit is contained in:
parent
d22821371f
commit
d49fd49233
3
js/src/jit-test/tests/jaeger/bug640102.js
Normal file
3
js/src/jit-test/tests/jaeger/bug640102.js
Normal file
@ -0,0 +1,3 @@
|
||||
try {
|
||||
eval("v>>([]=x)")
|
||||
} catch (e) {}
|
@ -216,7 +216,7 @@ FrameState::isEntryCopied(FrameEntry *fe) const
|
||||
|
||||
for (uint32 i = fe->trackerIndex() + 1; i < tracker.nentries; i++) {
|
||||
FrameEntry *nfe = tracker[i];
|
||||
if (nfe->isCopy() && nfe->copyOf() == fe)
|
||||
if (nfe < sp && nfe->isCopy() && nfe->copyOf() == fe)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user