Closed Bug 928889 Opened 6 years ago Closed 6 years ago

BaselineCompiler: return correct *pc when in prologue

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: h4writer, Assigned: h4writer)

References

Details

Attachments

(1 file)

Got sudden failures when prototyping recompile without invalidation. I traced it back to an *pc that got set to "0". This is off course bogus, we should set it to script->code if we want the begin of the script.
Assignee: nobody → hv1989
Attachment #819682 - Flags: review?(jdemooij)
Asked Jan to review, since he already confirmed on IRC this was bogus and agreed with the fix. CC'ing Kannan since his patch introduced this bug: Bug 857838.
Blocks: 918278, 857838
Attachment #819682 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/f92a77d8ee8f
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.