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:
Makoto Kato 2009-08-14 11:09:15 -07:00
Родитель e9d5620d31
Коммит bbc0f6e629
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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)
{