From e9f44fd672236ae1bea70439a0cd24cf4e47bf8a Mon Sep 17 00:00:00 2001 From: Tooru Fujisawa Date: Sun, 23 Oct 2016 01:46:35 +0900 Subject: [PATCH] Bug 1312181 - Add this-> to is() in MOZ_ASSERT in BytecodeEmitter::NestableControl::as() as a workaround for compiler bug. r=ehoogeveen --- js/src/frontend/BytecodeEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/frontend/BytecodeEmitter.cpp b/js/src/frontend/BytecodeEmitter.cpp index 33ff9144fae9..1d51666a99b4 100644 --- a/js/src/frontend/BytecodeEmitter.cpp +++ b/js/src/frontend/BytecodeEmitter.cpp @@ -119,7 +119,7 @@ class BytecodeEmitter::NestableControl : public Nestable T& as() { - MOZ_ASSERT(is()); + MOZ_ASSERT(this->is()); return static_cast(*this); } };