зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1061600 - Fix PropertyWriteNeedsTypeBarrier, r=jandem.
This commit is contained in:
Родитель
b03321a013
Коммит
faf0f8344b
|
@ -4033,7 +4033,7 @@ jit::PropertyWriteNeedsTypeBarrier(TempAllocator &alloc, types::CompilerConstrai
|
|||
|
||||
// TI doesn't track TypedArray objects and should never insert a type
|
||||
// barrier for them.
|
||||
if (IsTypedArrayClass(object->clasp()))
|
||||
if (!name && IsTypedArrayClass(object->clasp()))
|
||||
continue;
|
||||
|
||||
jsid id = name ? NameToId(name) : JSID_VOID;
|
||||
|
@ -4065,7 +4065,7 @@ jit::PropertyWriteNeedsTypeBarrier(TempAllocator &alloc, types::CompilerConstrai
|
|||
types::TypeObjectKey *object = types->getObject(i);
|
||||
if (!object || object->unknownProperties())
|
||||
continue;
|
||||
if (IsTypedArrayClass(object->clasp()))
|
||||
if (!name && IsTypedArrayClass(object->clasp()))
|
||||
continue;
|
||||
|
||||
jsid id = name ? NameToId(name) : JSID_VOID;
|
||||
|
|
Загрузка…
Ссылка в новой задаче