Closed
Bug 811875
Opened 12 years ago
Closed 12 years ago
BaselineCompiler: Implement calls
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
Handling CALLLOCAL/CALLARG will be useful to test the IC design and frame iteration code.
Assignee | ||
Comment 1•12 years ago
|
||
Handles calls using Invoke. Introduces a bunch of new jit-test failures, seems to be mostly frame iteration stuff, will look into them tomorrow.
Assignee | ||
Comment 2•12 years ago
|
||
On top of the patch in bug 812138, this doesn't introduce any new jit-test failures on x86 and x64.
Attachment #681672 -
Attachment is obsolete: true
Attachment #681962 -
Flags: review?(kvijayan)
Comment 3•12 years ago
|
||
Comment on attachment 681962 [details] [diff] [review] Patch Review of attachment 681962 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. I think we should eliminate the coding of constructing flag into the key. The DoCallFallback function can inspect the JSOp at the PC to do the right thing, as well as to decide what kind of specific optimized stubs it wants to generate in the future - e.g. it can generate ICNew_Blah vs. ICCall_Blah depending on the inspected JSOp value. Maybe we can rename ICCall_Fallback to ICInvoke_Fallback to represent the fact that it handles both Call and New cases. Currently the extra argument makes it non-uniform with the style of the rest of the fallback ICs and doesn't provide any new information that we can't access from DoCallFallback anyway, and I don't see a significant perf benefit to doing this either.
Attachment #681962 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Adds NEW and uses a single fallback function.
Attachment #682061 -
Flags: review?(kvijayan)
Comment 5•12 years ago
|
||
Comment on attachment 682061 [details] [diff] [review] Part 2: Handle NEW Review of attachment 682061 [details] [diff] [review]: ----------------------------------------------------------------- Sweet :)
Attachment #682061 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/projects/ionmonkey/rev/420892dc7b4d https://hg.mozilla.org/projects/ionmonkey/rev/4415df1167d3
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•