Closed
Bug 1010775
Opened 11 years ago
Closed 11 years ago
Pass some small classes by value instead of const reference
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(8 files)
|
242.86 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
23.43 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
9.74 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
10.04 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
13.56 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
26.70 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
10.01 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
120.66 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
Classes like Register, Imm32 etc are sometimes passed by value and sometimes by const reference. It's very inconsistent, the code looks less cluttered if we pass by value and it's potentially more efficient.
| Assignee | ||
Comment 1•11 years ago
|
||
I verified these patches compile on x86 and ARM (simulator build).
It's just a search-and-replace + some minor style tweaks after that.
Attachment #8423076 -
Flags: review?(sunfish)
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8423078 -
Flags: review?(sunfish)
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8423079 -
Flags: review?(sunfish)
| Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8423080 -
Flags: review?(sunfish)
| Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8423081 -
Flags: review?(sunfish)
| Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8423088 -
Flags: review?(sunfish)
| Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8423091 -
Flags: review?(sunfish)
| Assignee | ||
Comment 8•11 years ago
|
||
Bug 991153 will change the FloatRegister implementation on ARM, but it will still fit in one word.
Attachment #8423095 -
Flags: review?(sunfish)
Comment 9•11 years ago
|
||
Comment on attachment 8423076 [details] [diff] [review]
Part 1 - Register
Review of attachment 8423076 [details] [diff] [review]:
-----------------------------------------------------------------
Splendid.
Attachment #8423076 -
Flags: review?(sunfish) → review+
Updated•11 years ago
|
Attachment #8423078 -
Flags: review?(sunfish) → review+
Updated•11 years ago
|
Attachment #8423079 -
Flags: review?(sunfish) → review+
Updated•11 years ago
|
Attachment #8423080 -
Flags: review?(sunfish) → review+
Updated•11 years ago
|
Attachment #8423081 -
Flags: review?(sunfish) → review+
Updated•11 years ago
|
Attachment #8423088 -
Flags: review?(sunfish) → review+
Updated•11 years ago
|
Attachment #8423091 -
Flags: review?(sunfish) → review+
Updated•11 years ago
|
Attachment #8423095 -
Flags: review?(sunfish) → review+
| Assignee | ||
Comment 10•11 years ago
|
||
Thanks for the quick reviews!
https://hg.mozilla.org/integration/mozilla-inbound/rev/88201d0deed8
https://hg.mozilla.org/integration/mozilla-inbound/rev/516dd2e509ac
https://hg.mozilla.org/integration/mozilla-inbound/rev/3c66e8cda11e
https://hg.mozilla.org/integration/mozilla-inbound/rev/d6283c3df595
https://hg.mozilla.org/integration/mozilla-inbound/rev/7a437dfb01bd
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f0918a55223
https://hg.mozilla.org/integration/mozilla-inbound/rev/9bf09205a537
https://hg.mozilla.org/integration/mozilla-inbound/rev/f61c1fc785f5
https://hg.mozilla.org/mozilla-central/rev/88201d0deed8
https://hg.mozilla.org/mozilla-central/rev/516dd2e509ac
https://hg.mozilla.org/mozilla-central/rev/3c66e8cda11e
https://hg.mozilla.org/mozilla-central/rev/d6283c3df595
https://hg.mozilla.org/mozilla-central/rev/7a437dfb01bd
https://hg.mozilla.org/mozilla-central/rev/3f0918a55223
https://hg.mozilla.org/mozilla-central/rev/9bf09205a537
https://hg.mozilla.org/mozilla-central/rev/f61c1fc785f5
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•