diff options
Diffstat (limited to 'Source/JavaScriptCore/interpreter/Interpreter.h')
-rw-r--r-- | Source/JavaScriptCore/interpreter/Interpreter.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/interpreter/Interpreter.h b/Source/JavaScriptCore/interpreter/Interpreter.h index 368fa27f2..6dfd331f8 100644 --- a/Source/JavaScriptCore/interpreter/Interpreter.h +++ b/Source/JavaScriptCore/interpreter/Interpreter.h @@ -114,11 +114,9 @@ namespace JSC { ASSERT(m_initialized); #if ENABLE(COMPUTED_GOTO_INTERPRETER) ASSERT(isOpcode(opcode)); - if (!m_enabled) { - OpcodeID result = static_cast<OpcodeID>(bitwise_cast<uintptr_t>(opcode)); - ASSERT(result == m_opcodeIDTable.get(opcode)); - return result; - } + if (!m_enabled) + return static_cast<OpcodeID>(bitwise_cast<uintptr_t>(opcode)); + return m_opcodeIDTable.get(opcode); #else return opcode; |