From 9ee7f591a96aa16833f2c79a445bef590a9d818e Mon Sep 17 00:00:00 2001 From: Luke Wagner Date: Mon, 23 Jun 2014 10:59:28 -0500 Subject: [PATCH] Bug 1027885 - OdinMonkey: use non-asserting labels (r=sunfish) --HG-- extra : rebase_source : d5cd151417e40196c2734054564acbe872b150b6 --- js/src/jit/AsmJS.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/js/src/jit/AsmJS.cpp b/js/src/jit/AsmJS.cpp index 64b02a5ae967..0c750f820fcf 100644 --- a/js/src/jit/AsmJS.cpp +++ b/js/src/jit/AsmJS.cpp @@ -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() {