avoid the wrath of the strict aliasing gods

RESOLVED FIXED in mozilla27

Status

()

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Benjamin, Assigned: Benjamin)

Tracking

unspecified
mozilla27
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Posted 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: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.