Closed
Bug 907187
Opened 12 years ago
Closed 12 years ago
Rewrite Baseline -> Ion OSR to not use the StackFrame layout
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(1 file)
19.79 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
We no longer OSR from the interpreter into Ion code, so creating a fake StackFrame is no longer necessary. It would be nice if we could just memcpy the BaselineFrame to the heap.
When we do this we can also remove all StackFrame::offsetOf* methods.
Assignee | ||
Updated•12 years ago
|
Component: JavaScript Engine → JavaScript Engine: JIT
Assignee | ||
Comment 1•12 years ago
|
||
This patch copies the BaselineFrame + locals/stack Values to the heap instead of creating a StackFrame. Formals and |this| are no longer copied: the Baseline and Ion frame have the same frame prefix so we can just read them directly.
7 files changed, 39 insertions(+), 199 deletions(-)
Comment 2•12 years ago
|
||
Comment on attachment 820996 [details] [diff] [review]
Patch
Review of attachment 820996 [details] [diff] [review]:
-----------------------------------------------------------------
Nice cleanup.
Attachment #820996 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•