Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu

This commit is contained in:
Eric Rahm 2015-05-28 15:26:52 -07:00
parent 6b8cbfa1a0
commit edad1539d9

View File

@ -25,7 +25,10 @@
class ThreadProfile;
// NB: Packing this structure has been shown to cause SIGBUS issues on ARM.
#ifndef __arm__
#pragma pack(push, 1)
#endif
class ProfileEntry
{
@ -73,7 +76,9 @@ private:
char mTagName;
};
#ifndef __arm__
#pragma pack(pop)
#endif
class UniqueJSONStrings
{