Closed Bug 684362 Opened 13 years ago Closed 13 years ago

IonMonkey: Crash building SSA for an infinite loop

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dvander, Assigned: dvander)

References

Details

Attachments

(1 file)

No description provided.
Attached patch fix (deleted) — Splinter Review
Attachment #557955 - Flags: review?(sstangl)
Comment on attachment 557955 [details] [diff] [review] fix Review of attachment 557955 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/IonBuilder.cpp @@ +707,5 @@ > > current = successor; > + > + // An infinite loop (for (;;) { }) will not have a successor. > + if (!current) Would prefer (!successor) for clarity.
Attachment #557955 - Flags: review?(sstangl) → review+
http://hg.mozilla.org/projects/ionmonkey/rev/1643eac86ad1 (re: nit, the !current .. return Ended pattern is really prevalent, it should probably actually be a helper and tail called.)
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: