mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 879647: Don't throw process fatal assortions when we're about to abort the compilation. (r=jbramley)
This commit is contained in:
parent
111f7ebdfa
commit
b5b8a340f5
@ -1821,7 +1821,9 @@ class Assembler
|
||||
|
||||
static void updateBoundsCheck(uint32_t logHeapSize, Instruction *inst);
|
||||
void processCodeLabels(uint8_t *rawCode);
|
||||
|
||||
bool bailed() {
|
||||
return m_buffer.bail();
|
||||
}
|
||||
}; // Assembler
|
||||
|
||||
// An Instruction is a structure for both encoding and decoding any and all ARM instructions.
|
||||
|
@ -212,6 +212,8 @@ CodeGeneratorARM::bailoutIf(Assembler::Condition condition, LSnapshot *snapshot)
|
||||
bool
|
||||
CodeGeneratorARM::bailoutFrom(Label *label, LSnapshot *snapshot)
|
||||
{
|
||||
if (masm.bailed())
|
||||
return false;
|
||||
JS_ASSERT(label->used());
|
||||
JS_ASSERT(!label->bound());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user