зеркало из https://github.com/mozilla/gecko-dev.git
Bug 510449 - Bug 493457 causes crash on x64 windows build because JSSLOT_CLASS_MASK_BITS is uint32. r=jwalden
This commit is contained in:
Родитель
ef8631d430
Коммит
d737a6e689
|
@ -97,7 +97,7 @@ const uint32 JSSLOT_PROTO = 0;
|
||||||
const uint32 JSSLOT_PARENT = 1;
|
const uint32 JSSLOT_PARENT = 1;
|
||||||
const uint32 JSSLOT_PRIVATE = 2;
|
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,
|
* 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
|
* flags in the two least significant bits. We do *not* synchronize updates of
|
||||||
* obj->classword -- API clients must take care.
|
* obj->classword -- API clients must take care.
|
||||||
*/
|
*/
|
||||||
#define JSSLOT_CLASS_MASK_BITS 3
|
|
||||||
|
|
||||||
JS_ALWAYS_INLINE JSClass*
|
JS_ALWAYS_INLINE JSClass*
|
||||||
STOBJ_GET_CLASS(const JSObject* obj)
|
STOBJ_GET_CLASS(const JSObject* obj)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче