Bug 886104 - Remove assert in ParCallToUncompiledScript. (r=nmatsakis)

This commit is contained in:
Shu-yu Guo 2013-06-27 14:47:43 -07:00
parent e5741c94d3
commit 0c287aa57b

View File

@ -452,7 +452,8 @@ ion::ParCallToUncompiledScript(JSFunction *func)
Spew(SpewBailouts, "Call to bound function (excessive depth: %d)", depth);
}
} else {
JS_NOT_REACHED("ParCall'ed functions must have scripts or be ES6 bound functions.");
JS_ASSERT(func->isNative());
Spew(SpewBailouts, "Call to native function");
}
#endif
}