Backed out changeset 567152f907a1 (bug 1028331) for Jit failures

This commit is contained in:
Nigel Babu
2014-06-27 08:48:14 +05:30
parent 7bc660b42c
commit cd74aa6973
9 changed files with 118 additions and 173 deletions

View File

@@ -4904,8 +4904,8 @@ MaybeReportUndeclaredVarAssignment(JSContext *cx, JSString *propname)
bool
JSObject::reportReadOnly(ThreadSafeContext *cxArg, jsid id, unsigned report)
{
if (cxArg->isForkJoinContext())
return cxArg->asForkJoinContext()->reportError(report);
if (cxArg->isForkJoinContext())
return cxArg->asForkJoinContext()->reportError(ParallelBailoutUnsupportedVM, report);
if (!cxArg->isJSContext())
return true;
@@ -4921,7 +4921,7 @@ bool
JSObject::reportNotConfigurable(ThreadSafeContext *cxArg, jsid id, unsigned report)
{
if (cxArg->isForkJoinContext())
return cxArg->asForkJoinContext()->reportError(report);
return cxArg->asForkJoinContext()->reportError(ParallelBailoutUnsupportedVM, report);
if (!cxArg->isJSContext())
return true;
@@ -4937,7 +4937,7 @@ bool
JSObject::reportNotExtensible(ThreadSafeContext *cxArg, unsigned report)
{
if (cxArg->isForkJoinContext())
return cxArg->asForkJoinContext()->reportError(report);
return cxArg->asForkJoinContext()->reportError(ParallelBailoutUnsupportedVM, report);
if (!cxArg->isJSContext())
return true;