зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 7ae159c1ae97 (bug 1312480) a=backout
This commit is contained in:
Родитель
4cdba7934b
Коммит
1252808754
|
@ -230,10 +230,8 @@ JS_FOR_EACH_TYPED_ARRAY(OBJECT_MOVED_TYPED_ARRAY)
|
||||||
|
|
||||||
// Set a forwarding pointer for the element buffers in case they were
|
// Set a forwarding pointer for the element buffers in case they were
|
||||||
// preserved on the stack by Ion.
|
// preserved on the stack by Ion.
|
||||||
if (nbytes > 0) {
|
nursery.maybeSetForwardingPointer(trc, oldObj->elements(), newObj->elements(),
|
||||||
nursery.maybeSetForwardingPointer(trc, oldObj->elements(), newObj->elements(),
|
/* direct = */nbytes >= sizeof(uintptr_t));
|
||||||
/* direct = */nbytes >= sizeof(uintptr_t));
|
|
||||||
}
|
|
||||||
|
|
||||||
return newObj->hasInlineElements() ? 0 : nbytes;
|
return newObj->hasInlineElements() ? 0 : nbytes;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче