We currently size the storage inside JSAutoEnterCompartment based on a platform-specific guess. This broke ted's iOS port, and it's ugly. We may be able to rely on the fact (?) that 32-bit systems with alignof(uint64) == 4 have 13-word AutoCompartments, while 32-bit systems with alignof(uint64) == 8 have 16-word AutoCompartments.
Comment on attachment 565995 [details] [diff] [review] Patch v1 I think this works.
Attachment #565995 - Flags: review?(luke)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Whiteboard: [inbound][iOS] → [iOS]
Just for interest in case this dings other arches, on PPC this turned out to be 15 bytes, for some reason.
You need to log in before you can comment on or make changes to this bug.