Bug 915763 - Remove TypeScript::dynamicList and dynamic Monitor functions. r=bhackett

This commit is contained in:
Jan de Mooij
2013-09-28 11:45:21 +02:00
parent 553b7793e0
commit e6fbcb1ff0
26 changed files with 135 additions and 482 deletions

View File

@@ -604,7 +604,6 @@ js::GetIterator(JSContext *cx, HandleObject obj, unsigned flags, MutableHandleVa
if (!iterobj)
return false;
vp.setObject(*iterobj);
types::MarkIteratorUnknown(cx);
return true;
}
@@ -681,16 +680,13 @@ js::GetIterator(JSContext *cx, HandleObject obj, unsigned flags, MutableHandleVa
}
miss:
if (obj->is<ProxyObject>()) {
types::MarkIteratorUnknown(cx);
if (obj->is<ProxyObject>())
return Proxy::iterate(cx, obj, flags, vp);
}
if (!GetCustomIterator(cx, obj, flags, vp))
return false;
if (!vp.isUndefined()) {
types::MarkIteratorUnknown(cx);
if (!vp.isUndefined())
return true;
}
}
/* NB: for (var p in null) succeeds by iterating over no properties. */