Closed Bug 609363 Opened 15 years ago Closed 15 years ago

Recompile operates on the wrong frames

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

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)

No description provided.
Blocks: 608763
I think we need one additional change to AllFramesIter to make sure we iterate all frames, not just ones associated with the dummy context.
Attached patch v2Splinter Review
Get rid of the earlier loop, since we can reach all JIT'd frames by scanning VMFrames.
Assignee: general → dvander
Attachment #487978 - Attachment is obsolete: true
Status: NEW → ASSIGNED
blocking2.0: --- → beta7+
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+
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.

Attachment

General

Creator:
Created:
Updated:
Size: