Closed
Bug 815460
Opened 12 years ago
Closed 12 years ago
Always inline JS_THIS
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
JS_THIS doesn't always get inlined. And when it doesn't, at least gcc 4.4 32-bit generates an 8-byte memmove for the jsval copy constructor(!). Needless to say, this is all very slow.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #685417 -
Flags: review?(luke)
Comment 2•12 years ago
|
||
Comment on attachment 685417 [details] [diff] [review] Always inline JS_THIS so that we don't run into performance issues if the compiler decides not to inline it. Review of attachment 685417 [details] [diff] [review]: ----------------------------------------------------------------- Swiping.
Attachment #685417 -
Flags: review?(luke) → review+
Assignee | ||
Comment 3•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/20c8c8762a0c
Flags: in-testsuite-
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [need review]
Target Milestone: --- → mozilla20
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/20c8c8762a0c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•