Closed
Bug 827965
Opened 13 years ago
Closed 13 years ago
IonMonkey: Utilize GetTempRegForIntArg() for callNative calls.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: efaust, Assigned: efaust)
Details
Attachments
(1 file)
|
1.82 KB,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
In Bug 817943, Boris added GetTemRegForIntArg() to reduce the number of redundant moves on direct calls. This should also a win for the callNative path of visitCall().
| Assignee | ||
Comment 1•13 years ago
|
||
Assignee: general → efaustbmo
Status: NEW → ASSIGNED
| Assignee | ||
Updated•13 years ago
|
Attachment #699385 -
Flags: review?(mrosenberg)
Comment 2•13 years ago
|
||
Comment on attachment 699385 [details] [diff] [review]
Patch
Review of attachment 699385 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/ion/Lowering.cpp
@@ +307,5 @@
> +
> + // Even though this is just a temp reg, use the same API to avoid
> + // register collisions.
> + mozilla::DebugOnly<bool> ok = GetTempRegForIntArg(3, 0, &tmpReg);
> + MOZ_ASSERT(ok, "How can we not have four temp registers?");
JS_ASSERT. Maybe a blank line after?
Attachment #699385 -
Flags: review?(mrosenberg) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•