Closed
Bug 512049
Opened 15 years ago
Closed 15 years ago
TM: inline DoubleToECMAInt32
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: gal, Assigned: gal)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
6.99 KB,
patch
|
dmandelin
:
review+
|
Details | Diff | Splinter Review |
DoubleToECMAInt32 has a fast path but is pretty long and hence has a ton of spills in the prolog/epilog. This patch moves it to the header file so it can be inlined (its used across 5 files in a couple call sites). This is a small perf with with JIT (1-2ms, hard to measure). Its more obvious in an interp only build, since the interpreter calls DoubleToECMAInt32 more often (3% speedup for some of the SS tests).
Assignee | ||
Comment 1•15 years ago
|
||
Assignee: general → gal
Attachment #396047 -
Flags: review?(dmandelin)
Updated•15 years ago
|
Attachment #396047 -
Flags: review?(dmandelin) → review+
Assignee | ||
Comment 2•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/fcd321cd60c1
Whiteboard: fixed-in-tracemonkey
Assignee | ||
Comment 3•15 years ago
|
||
build fix http://hg.mozilla.org/tracemonkey/rev/4924c617f852
Assignee | ||
Comment 4•15 years ago
|
||
sigh http://hg.mozilla.org/tracemonkey/rev/260182d780b0
Comment 5•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/fcd321cd60c1
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 6•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4924c617f852
Comment 7•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/260182d780b0
Comment 8•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/936313de50c1
status1.9.2:
--- → beta1-fixed
Flags: wanted1.9.2+
You need to log in
before you can comment on or make changes to this bug.
Description
•