Closed
Bug 820105
Opened 12 years ago
Closed 12 years ago
IonMonkey: callWithABI: support passing the callee in a register
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
14.57 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
We want to use callWithABI to make calls to native functions. However, the baseline compiler will share these "native call" stubs so we can't bake in the actual function pointer.
Comment 1•12 years ago
|
||
Just to clarify, you want to make a stub to call bool (*)(JSContext *, int argc, Value *argv) cases ? At best you should use a volatile register which is not in the set of argument to hold the pointer of the callee.
Assignee | ||
Comment 2•12 years ago
|
||
This adds a callWithABI overload that takes the callee as Address instead of a function pointer.
Attachment #690840 -
Flags: review?(dvander)
Updated•12 years ago
|
Attachment #690840 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•