Backed out changeset 7ae159c1ae97 (bug 1312480) a=backout

This commit is contained in:
Wes Kocher 2017-01-09 12:25:37 -08:00
Родитель 4cdba7934b
Коммит 1252808754
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -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;
} }