Bug 1027885 - OdinMonkey: use non-asserting labels (r=sunfish)

--HG--
extra : rebase_source : d5cd151417e40196c2734054564acbe872b150b6
This commit is contained in:
Luke Wagner 2014-06-23 10:59:28 -05:00
Родитель e62870aedd
Коммит 9ee7f591a9
1 изменённых файлов: 2 добавлений и 8 удалений

Просмотреть файл

@ -1036,8 +1036,8 @@ class MOZ_STACK_CLASS ModuleCompiler
FuncPtrTableVector funcPtrTables_;
ExitMap exits_;
MathNameMap standardLibraryMathNames_;
Label stackOverflowLabel_;
Label interruptLabel_;
NonAssertingLabel stackOverflowLabel_;
NonAssertingLabel interruptLabel_;
char * errorString_;
uint32_t errorOffset_;
@ -1096,12 +1096,6 @@ class MOZ_STACK_CLASS ModuleCompiler
}
if (errorOverRecursed_)
js_ReportOverRecursed(cx_);
// Avoid spurious Label assertions on compilation failure.
if (!stackOverflowLabel_.bound())
stackOverflowLabel_.bind(0);
if (!interruptLabel_.bound())
interruptLabel_.bind(0);
}
bool init() {