Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index 0bdd0553152975c9d73e337c885ba2c3f1815ad2..b596d0db5ff22675cd9278cb1f075b015e616c1c 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -106,7 +106,8 @@ int BytecodeArrayIterator::GetJumpTargetOffset() const { |
if (interpreter::Bytecodes::IsJumpImmediate(bytecode)) { |
int relative_offset = GetImmediateOperand(0); |
return current_offset() + relative_offset; |
- } else if (interpreter::Bytecodes::IsJumpConstant(bytecode)) { |
+ } else if (interpreter::Bytecodes::IsJumpConstant(bytecode) || |
+ interpreter::Bytecodes::IsJumpConstantWide(bytecode)) { |
Smi* smi = Smi::cast(*GetConstantForIndexOperand(0)); |
return current_offset() + smi->value(); |
} else { |