mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 510449 - Bug 493457 causes crash on x64 windows build because JSSLOT_CLASS_MASK_BITS is uint32. r=jwalden
--HG-- extra : rebase_source : f9c5040cdec6d23ecfd1ac49f0ce6e97e356f4f1
This commit is contained in:
parent
e9d5620d31
commit
bbc0f6e629
@ -97,7 +97,7 @@ const uint32 JSSLOT_PROTO = 0;
|
||||
const uint32 JSSLOT_PARENT = 1;
|
||||
const uint32 JSSLOT_PRIVATE = 2;
|
||||
|
||||
const uint32 JSSLOT_CLASS_MASK_BITS = 3;
|
||||
const uintptr_t JSSLOT_CLASS_MASK_BITS = 3;
|
||||
|
||||
/*
|
||||
* JSObject struct, with members sized to fit in 32 bytes on 32-bit targets,
|
||||
@ -290,8 +290,6 @@ struct JSObject {
|
||||
* flags in the two least significant bits. We do *not* synchronize updates of
|
||||
* obj->classword -- API clients must take care.
|
||||
*/
|
||||
#define JSSLOT_CLASS_MASK_BITS 3
|
||||
|
||||
JS_ALWAYS_INLINE JSClass*
|
||||
STOBJ_GET_CLASS(const JSObject* obj)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user