Closed
Bug 808659
Opened 13 years ago
Closed 13 years ago
BaselineCompiler: rm IonBaselineJSFrameLayout
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(1 file)
6.52 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
I added it to the prototype but I hope we won't need it and can just use IonJSFrameLayout, to simplify cross-JIT calls, frame iteration etc.
Attachment #678369 -
Flags: review?(kvijayan)
Comment 1•13 years ago
|
||
Comment on attachment 678369 [details] [diff] [review]
Patch
Review of attachment 678369 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/ion/IonFrameIterator.h
@@ +111,5 @@
> bool checkInvalidation(IonScript **ionScript) const;
> bool checkInvalidation() const;
>
> bool isScripted() const {
> + return type_ == IonFrame_BaselineJS || type_ == IonFrame_JS;
Why are we adding this check here? From the patch I expected that IonFrame_BasineJS was going to be removed entirely.
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Kannan Vijayan [:djvj] from comment #1)
>
> Why are we adding this check here? From the patch I expected that
> IonFrame_BasineJS was going to be removed entirely.
The frame prefix/header will be the same, but the frame descriptor has to be different so that we know whether it's a baseline or optimized frame. We have to know this for GC and frame iteration (I renamed IonFrame_JS to IonFrame_OptimizedJS on m-c, these frames have snapshots and inline frames etc).
Comment 3•13 years ago
|
||
Ah, ok. Got it.
Updated•13 years ago
|
Attachment #678369 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 4•13 years ago
|
||
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.
Description
•