Backout a22fad398472 and 373e6bd2705d because of burnage

This commit is contained in:
Luke Wagner
2011-08-04 15:54:14 -07:00
parent 7a07eb07a0
commit d4332472d7
15 changed files with 11 additions and 136 deletions

View File

@@ -339,8 +339,6 @@ GetPropertyNames(JSContext *cx, JSObject *obj, uintN flags, AutoIdVector *props)
}
size_t sCustomIteratorCount = 0;
static inline bool
GetCustomIterator(JSContext *cx, JSObject *obj, uintN flags, Value *vp)
{
@@ -355,9 +353,6 @@ GetCustomIterator(JSContext *cx, JSObject *obj, uintN flags, Value *vp)
return true;
}
if (!cx->runningWithTrustedPrincipals())
++sCustomIteratorCount;
/* Otherwise call it and return that object. */
LeaveTrace(cx);
Value arg = BooleanValue((flags & JSITER_FOREACH) == 0);