Backed out changeset afb1f49458db (bug 1171909) for SM(arm) errors

This commit is contained in:
Jon Coppeard 2015-07-13 14:26:01 +01:00
parent 8d0b31cb6d
commit ed3209e821
3 changed files with 9 additions and 15 deletions

View File

@ -1,3 +0,0 @@
// |jit-test| --no-ggc; allow-unhandlable-oom
load(libdir + 'oomTest.js');
oomTest((function(x) { assertEq(x + y + ex, 25); }));

View File

@ -221,18 +221,19 @@ jit::ExceptionHandlerBailout(JSContext* cx, const InlineFrameIterator& frame,
rfe->target = cx->runtime()->jitRuntime()->getBailoutTail()->raw();
rfe->bailoutInfo = bailoutInfo;
} else {
// Bailout failed. If the overrecursion check failed, clear the
// exception to turn this into an uncatchable error, continue popping
// all inline frames and have the caller report the error.
// Bailout failed. If there was a fatal error, clear the
// exception to turn this into an uncatchable error. If the
// overrecursion check failed, continue popping all inline
// frames and have the caller report an overrecursion error.
MOZ_ASSERT(!bailoutInfo);
if (retval == BAILOUT_RETURN_OVERRECURSED) {
if (!excInfo.propagatingIonExceptionForDebugMode())
cx->clearPendingException();
if (retval == BAILOUT_RETURN_OVERRECURSED)
*overrecursed = true;
if (!excInfo.propagatingIonExceptionForDebugMode())
cx->clearPendingException();
} else {
else
MOZ_ASSERT(retval == BAILOUT_RETURN_FATAL_ERROR);
}
}
// Make the frame being bailed out the top profiled frame.

View File

@ -460,10 +460,6 @@ struct AssemblerBufferWithConstantPools : public AssemblerBuffer<SliceSize, Inst
// MacroAssembler before allocating any space.
void initWithAllocator() {
poolInfo_ = this->lifoAlloc_.template newArrayUninitialized<PoolInfo>(poolInfoSize_);
if (!poolInfo_) {
this->fail_oom();
return;
}
new (&pool_) Pool (poolMaxOffset_, pcBias_, this->lifoAlloc_);
if (pool_.poolData() == nullptr)