mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
Fix DEBUG_jwalden code for fatvals. r+sr+ui-r+a=mconnor per firebot2 (an evil doppelgänger?)
This commit is contained in:
parent
f64b050097
commit
3249518de8
@ -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] != JSVAL_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