Closed
Bug 609363
Opened 15 years ago
Closed 15 years ago
Recompile operates on the wrong frames
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | beta7+ |
People
(Reporter: sayrer, Assigned: dvander)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 1 obsolete file)
|
3.40 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Comment 1•15 years ago
|
||
| Assignee | ||
Comment 2•15 years ago
|
||
I think we need one additional change to AllFramesIter to make sure we iterate all frames, not just ones associated with the dummy context.
| Assignee | ||
Comment 3•15 years ago
|
||
Get rid of the earlier loop, since we can reach all JIT'd frames by scanning VMFrames.
| Assignee | ||
Updated•15 years ago
|
Attachment #488054 -
Flags: review?(lw)
| Reporter | ||
Updated•15 years ago
|
blocking2.0: --- → beta7+
Comment 4•15 years ago
|
||
Comment on attachment 488054 [details] [diff] [review]
v2
>+ // Scan all frames owned by this VMFrame.
>+ JSStackFrame *stopFp = f->entryFp;
>+ JSStackFrame *fp = f->fp();
>+ while (true) {
[snip]
>+ if (stopFp == fp)
>+ break;
>+
>+ fp = fp->prev();
>+ }
Perhaps:
JSStackFrame *end = f->entryFp->prev();
for (JSStackFrame *fp = f->fp(); fp != end; fp = fp->prev()) {
...
}
?
Attachment #488054 -
Flags: review?(lw) → review+
| Assignee | ||
Comment 5•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
| Reporter | ||
Comment 6•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•