mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Don't add stale unsynced entries to inline frame info, bug 647973.
This commit is contained in:
parent
32fcec93dd
commit
40cc39a621
11
js/src/jit-test/tests/jaeger/inline/bug647973.js
Normal file
11
js/src/jit-test/tests/jaeger/inline/bug647973.js
Normal file
@ -0,0 +1,11 @@
|
||||
function f(a1, a2, a3, a4) {
|
||||
}
|
||||
function g(a1, a2) {
|
||||
var d = new Date(0);
|
||||
f();
|
||||
assertEq(typeof d, 'object');
|
||||
}
|
||||
g();
|
||||
gc();
|
||||
f(2, 2, 2, f(2, 2, 2, 12 === 12));
|
||||
g(false, false);
|
@ -79,6 +79,8 @@ FrameState::getUnsyncedEntries(uint32 *pdepth, Vector<UnsyncedEntry> *unsyncedEn
|
||||
/* Mark all unsynced entries in the frame. */
|
||||
for (uint32 i = 0; i < a->tracker.nentries; i++) {
|
||||
FrameEntry *fe = a->tracker[i];
|
||||
if (fe >= sp)
|
||||
continue;
|
||||
if (fe->type.synced() && fe->data.synced())
|
||||
continue;
|
||||
if (fe->inlined)
|
||||
|
Loading…
Reference in New Issue
Block a user