Closed
Bug 769853
Opened 13 years ago
Closed 13 years ago
IonMonkey: x86 buildFakeExitFrame() issued call instruction to push PC
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: efaust, Assigned: efaust)
Details
Attachments
(1 file)
3.42 KB,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
buildFakeExitFrame() uses a scheme involving a call to push the PC. This is inefficient. We can use a label instead to get the same information without all the overhead.
Attachment #638054 -
Flags: review?(sstangl)
Assignee | ||
Updated•13 years ago
|
Assignee: general → efaust
Status: NEW → ASSIGNED
Summary: x86 buildFakeExitFrame() issued call instruction to push PC → IonMonkey: x86 buildFakeExitFrame() issued call instruction to push PC
Comment 1•13 years ago
|
||
Comment on attachment 638054 [details] [diff] [review]
Fix
Review of attachment 638054 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with changes.
::: js/src/ion/shared/MacroAssembler-x86-shared.h
@@ +379,4 @@
>
> + CodeLabel *cl = new CodeLabel();
> + if (!addCodeLabel(cl))
> + return false;
Function does not return boolean. If it can fail, it needs a bool return with a uint32 outparam. Callers also must check for error. ARM will need equivalent changes, since visitCallNative() is shared.
Attachment #638054 -
Flags: review?(sstangl) → review+
Assignee | ||
Comment 2•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
•