Closed
Bug 1127269
Opened 9 years ago
Closed 8 years ago
More ARM cleanup
Categories
(Core :: JavaScript Engine: JIT, defect, P5)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(1 file, 2 obsolete files)
40.72 KB,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
This first patch fixes a number of issues I found by going through Assembler-arm.h: * Made most single-arg constructors |explicit| * A lot of classes now have private members * Added some asserts when storing values in bitfields, to make sure we don't lose information * A ton of style nits I didn't make the Operand2(Address) constructor explicit yet, because that blows up. Will look into that separately.
Attachment #8556404 -
Flags: review?(dtc-moz)
Comment 1•9 years ago
|
||
Comment on attachment 8556404 [details] [diff] [review] Part 1 - Assembler-arm.h Review of attachment 8556404 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thank you. ::: js/src/jit/arm/Assembler-arm.h @@ +729,5 @@ > uint32_t data; > > protected: > DtrOff(datastore::Imm12Data immdata, IsUp_ iu) > + : data(immdata.encode() | uint32_t(IsImmDTR) | (uint32_t(iu))) "(uint32_t(iu))" to "uint32_t(iu)" ?
Attachment #8556404 -
Flags: review?(dtc-moz) → review+
Comment 2•8 years ago
|
||
The patch does not apply anymore.
Flags: needinfo?(jdemooij)
Priority: -- → P5
Assignee | ||
Comment 3•8 years ago
|
||
Some of these changes were done in other bugs in the meantime. Here's a new patch for the remaining things.
Attachment #8556404 -
Attachment is obsolete: true
Flags: needinfo?(jdemooij)
Attachment #8803867 -
Flags: review?(sstangl)
Assignee | ||
Comment 4•8 years ago
|
||
Forgot to qref.
Attachment #8803867 -
Attachment is obsolete: true
Attachment #8803867 -
Flags: review?(sstangl)
Attachment #8803868 -
Flags: review?(sstangl)
Comment 5•8 years ago
|
||
Comment on attachment 8803868 [details] [diff] [review] Part 1 - Assembler-arm.h Review of attachment 8803868 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Thank you for doing this.
Attachment #8803868 -
Flags: review?(sstangl) → review+
Pushed by jandemooij@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/10205a882c3c Clean up some code in the ARM backend. r=sstangl
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/10205a882c3c
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•