mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 20:28:42 +02:00
Backed out changeset 7ae159c1ae97 (bug 1312480) a=backout
This commit is contained in:
parent
4cdba7934b
commit
1252808754
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
// preserved on the stack by Ion.
|
||||
if (nbytes > 0) {
|
||||
nursery.maybeSetForwardingPointer(trc, oldObj->elements(), newObj->elements(),
|
||||
/* direct = */nbytes >= sizeof(uintptr_t));
|
||||
}
|
||||
|
||||
return newObj->hasInlineElements() ? 0 : nbytes;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue