Remove LeaveTrace and related structures (bug 698201 part 5, r=luke).

This commit is contained in:
David Anderson
2011-11-22 17:41:43 -05:00
parent 76ef7ce565
commit 86d67629e4
39 changed files with 16 additions and 1010 deletions

View File

@@ -369,7 +369,6 @@ GetCustomIterator(JSContext *cx, JSObject *obj, uintN flags, Value *vp)
++sCustomIteratorCount;
/* Otherwise call it and return that object. */
LeaveTrace(cx);
Value arg = BooleanValue((flags & JSITER_FOREACH) == 0);
if (!Invoke(cx, ObjectValue(*obj), *vp, 1, &arg, vp))
return false;
@@ -1396,8 +1395,6 @@ CloseGenerator(JSContext *cx, JSObject *obj)
static JSBool
generator_op(JSContext *cx, Native native, JSGeneratorOp op, Value *vp, uintN argc)
{
LeaveTrace(cx);
CallArgs args = CallArgsFromVp(argc, vp);
bool ok;