mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
Er, really fix DEBUG_jwalden code. r=tpyo
--HG-- extra : rebase_source : 957de112c57250d4244883eada9561cc76b49006
This commit is contained in:
parent
12cea819c6
commit
54561f53dd
@ -1392,7 +1392,7 @@ InitArrayElements(JSContext *cx, JSObject *obj, jsuint start, jsuint count, Valu
|
||||
/* Verify that overwriteType and writeType were accurate. */
|
||||
AutoIdRooter idr(cx);
|
||||
for (jsuint i = 0; i < count; i++) {
|
||||
JS_ASSERT_IF(vectorType == SourceVectorAllValues, vector[i].isMagic(JS_ARRAY_HOLE));
|
||||
JS_ASSERT_IF(vectorType == SourceVectorAllValues, !vector[i].isMagic(JS_ARRAY_HOLE));
|
||||
|
||||
jsdouble index = jsdouble(start) + i;
|
||||
if (targetType == TargetElementsAllHoles && index < jsuint(-1)) {
|
||||
|
Loading…
Reference in New Issue
Block a user