Closed
Bug 634446
Opened 14 years ago
Closed 14 years ago
AVMFEATURE_INDIRECT_NATIVE_THUNKS does not pay for itself
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stejohns, Assigned: stejohns)
Details
Attachments
(1 file)
152.37 KB,
patch
|
rreitmai
:
review+
edwsmith
:
superreview+
|
Details | Diff | Splinter Review |
Disabling this provides better compile-time type checking at a modest cost: a Mac x64 build increased by 57k (~0.4% increase in size). IMHO we should remove it entirely and use solely direct thunks.
Assignee | ||
Comment 1•14 years ago
|
||
Remove the option for indirect thunks entirely.
Assignee: nobody → stejohns
Attachment #512642 -
Flags: superreview?(edwsmith)
Attachment #512642 -
Flags: review?(rreitmai)
Comment 2•14 years ago
|
||
Comment on attachment 512642 [details] [diff] [review]
Patch
Seems fine as long as this is not being used elsewhere (e.g. aot) and rubber-stamping the nativegen.py changes.
Attachment #512642 -
Flags: review?(rreitmai) → review+
Comment 3•14 years ago
|
||
When is this currently being enabled/disabled by player?
Not for or against, but whenever bug 588750 gets around to landing, indirect thunks may return in a different form, only used along slow paths. Its on the back burner for now.
Assignee | ||
Comment 4•14 years ago
|
||
Currently, avmshell uses indirect in nondebugger, direct in debugger; Flash/AIR use indirect at all times.
Assignee | ||
Comment 5•14 years ago
|
||
BTW, the motivation for landing this is mainly that it will streamline some of the ANI work, as well as add some long-overdue error checking (attempting to enable this in Flash turned up a halfdozen mismatches)
Comment 6•14 years ago
|
||
Comment on attachment 512642 [details] [diff] [review]
Patch
This will make jit-generating thunks that much easier as well.
Attachment #512642 -
Flags: superreview?(edwsmith) → superreview+
Assignee | ||
Comment 7•14 years ago
|
||
Some of the "wrong" Flash code will be easier to fix once 634635 lands, adding that as a dependency before landing this
Depends on: 634635
Assignee | ||
Comment 8•14 years ago
|
||
Removing dependency, found a simple workaround
No longer depends on: 634635
Assignee | ||
Comment 9•14 years ago
|
||
TR 5936:3c2961b09980
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 10•14 years ago
|
||
changeset: 5937:860aec924bc2
user: Steven Johnson <stejohns@adobe.com>
summary: Bug 634446 followup: tweaks for AOT (probably more to follow) (r=me)
http://hg.mozilla.org/tamarin-redux/rev/860aec924bc2
Comment 11•14 years ago
|
||
changeset: 5941:8deda767cb88
user: Steven Johnson <stejohns@adobe.com>
summary: Bug 634446 followup part 2: more AOT fixes (r=alexmac)
http://hg.mozilla.org/tamarin-redux/rev/8deda767cb88
You need to log in
before you can comment on or make changes to this bug.
Description
•