Closed
Bug 909826
Opened 11 years ago
Closed 11 years ago
OdinMonkey: unify GenerateEntry
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: luke, Assigned: luke)
Details
Attachments
(3 files)
3.90 KB,
patch
|
bbouvier
:
review+
|
Details | Diff | Splinter Review |
10.60 KB,
patch
|
mjrosenb
:
review+
|
Details | Diff | Splinter Review |
1.12 KB,
patch
|
mjrosenb
:
review+
|
Details | Diff | Splinter Review |
The ARM and x86/x64 GenerateEntry functions are basically the same. (Along the same lines it'd be nice to unify the FFI paths too but that is for a future patch.)
Assignee | ||
Comment 1•11 years ago
|
||
This patch changes the x86/x64 entry to take a 'globalData' argument, like ARM does.
Attachment #796115 -
Flags: review?(bbouvier)
Assignee | ||
Comment 2•11 years ago
|
||
Unify them. I'm pretty sure StackDecrementForCall is doing the same calculation but I'd certainly appreciate a double check.
Attachment #796116 -
Flags: review?(dtc-moz)
Assignee | ||
Comment 3•11 years ago
|
||
While I was in the area...
Attachment #796117 -
Flags: review?(dtc-moz)
Comment 4•11 years ago
|
||
Comment on attachment 796115 [details] [diff] [review] step 1 Review of attachment 796115 [details] [diff] [review]: ----------------------------------------------------------------- Cool to finally see this getting factored out!
Attachment #796115 -
Flags: review?(bbouvier) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 796116 [details] [diff] [review] step 2 Actually, Marty wrote these, so I should give him the reviews.
Attachment #796116 -
Flags: review?(dtc-moz) → review?(mrosenberg)
Assignee | ||
Updated•11 years ago
|
Attachment #796117 -
Flags: review?(dtc-moz) → review?(mrosenberg)
Comment 6•11 years ago
|
||
Comment on attachment 796116 [details] [diff] [review] step 2 Review of attachment 796116 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jit/AsmJS.cpp @@ +5256,5 @@ > #endif > > + // ARM and x64 have a globally-pinned HeapReg (x86 uses immediates in > + // effective addresses). > +#if defined(JS_CPU_X64) or defined(JS_CPU_ARM) I am not a huge fan of c++'s English replacements for C operators.
Attachment #796116 -
Flags: review?(mrosenberg) → review+
Updated•11 years ago
|
Attachment #796117 -
Flags: review?(mrosenberg) → review+
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2741f512f37b https://hg.mozilla.org/integration/mozilla-inbound/rev/0d96288e8621 https://hg.mozilla.org/integration/mozilla-inbound/rev/6de29dc70874
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2741f512f37b https://hg.mozilla.org/mozilla-central/rev/0d96288e8621 https://hg.mozilla.org/mozilla-central/rev/6de29dc70874
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•