Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove use of AssertCanGC r=terrence

This commit is contained in:
Jon Coppeard
2013-03-06 18:10:30 +00:00
parent 9700fd8e33
commit fcd77744ae
47 changed files with 0 additions and 180 deletions

View File

@@ -1503,8 +1503,6 @@ static JSBool
SendToGenerator(JSContext *cx, JSGeneratorOp op, HandleObject obj,
JSGenerator *gen, const Value &arg)
{
AssertCanGC();
if (gen->state == JSGEN_RUNNING || gen->state == JSGEN_CLOSING) {
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL, JSMSG_NESTING_GENERATOR);
return false;