Closed
Bug 600489
Opened 16 years ago
Closed 16 years ago
TM: allow for branches that are never taken
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
|
12.90 KB,
patch
|
gal
:
review+
|
Details | Diff | Splinter Review |
insBranch() can return NULL if a conditional branch is optimized so that its condition never succeeds. jstracer.cpp doesn't account for this, it just calls branch->setTarget(label). This hasn't mattered up until now, but with bug 600127 doing a better job of optimizing guard/branch conditions, it does matter.
This patch adds label() to handle this.
Attachment #479341 -
Flags: review?(gal)
Updated•16 years ago
|
Attachment #479341 -
Flags: review?(gal) → review+
| Assignee | ||
Comment 1•16 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 2•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Summary: TM: allow for insBranch() returning NULL → TM: allow for branches that are never taken
You need to log in
before you can comment on or make changes to this bug.
Description
•