Closed Bug 928738 Opened 7 years ago Closed 7 years ago

avoid the wrath of the strict aliasing gods

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: Benjamin, Assigned: Benjamin)

Details

Attachments

(1 file)

Attached patch pun.patchSplinter Review
/home/benjamin/dev/mozilla/inbound/js/src/jit/IonFrames.cpp: In member function ‘JS::Value js::jit::SnapshotIterator::slotValue(const js::jit::SnapshotReader::Slot&)’:
/home/benjamin/dev/mozilla/inbound/js/src/jit/IonFrames.cpp:1264:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
/home/benjamin/dev/mozilla/inbound/js/src/jit/IonFrames.cpp:1271:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Attachment #819480 - Flags: review?(jdemooij)
Comment on attachment 819480 [details] [diff] [review]
pun.patch

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

Thanks!
Attachment #819480 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/cbaa108583ee
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.