mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset afb1f49458db (bug 1171909) for SM(arm) errors
This commit is contained in:
parent
8d0b31cb6d
commit
ed3209e821
@ -1,3 +0,0 @@
|
||||
// |jit-test| --no-ggc; allow-unhandlable-oom
|
||||
load(libdir + 'oomTest.js');
|
||||
oomTest((function(x) { assertEq(x + y + ex, 25); }));
|
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user