Closed Bug 976565 Opened 6 years ago Closed 6 years ago

remove IS_LITTLE_ENDIAN use from MacroAssembler-arm.cpp

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

We have better ways of punning doubles nowadays.
Comment on attachment 8381422 [details] [diff] [review]
remove IS_LITTLE_ENDIAN use from MacroAssembler-arm.cpp

Review of attachment 8381422 [details] [diff] [review]:
-----------------------------------------------------------------

I am sad I can only give this one r+, I really never liked that struct.  Can BitwiseCast be used to go between any two objects that are the same size?
Attachment #8381422 - Flags: review?(mrosenberg) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/e4dd4dd96cbe

Yeah, BitwiseCast should work for any two things that are the same size.
Flags: in-testsuite-
Assignee: nobody → nfroyd
https://hg.mozilla.org/mozilla-central/rev/e4dd4dd96cbe
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.