зеркало из https://github.com/mozilla/pjs.git
backout merge
This commit is contained in:
Коммит
38040de858
|
@ -5269,13 +5269,7 @@ JS_SetOperationLimit(JSContext *cx, uint32 operationLimit)
|
|||
{
|
||||
/* Mixed operation and branch callbacks are not supported. */
|
||||
JS_ASSERT(!cx->branchCallbackWasSet);
|
||||
|
||||
// FIXME: bug 473721 wallpaper
|
||||
// JS_ASSERT(operationLimit <= JS_MAX_OPERATION_LIMIT);
|
||||
if (!(operationLimit <= JS_MAX_OPERATION_LIMIT)) {
|
||||
operationLimit = JS_MAX_OPERATION_LIMIT;
|
||||
}
|
||||
|
||||
JS_ASSERT(operationLimit <= JS_MAX_OPERATION_LIMIT);
|
||||
JS_ASSERT(operationLimit > 0);
|
||||
|
||||
cx->operationCount = (int32) operationLimit;
|
||||
|
|
Загрузка…
Ссылка в новой задаче