Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index 9af4c5a29ab2c7f7a40859ce3e4e510dbc63a9a4..344fbc3ab269ea6317f3e36da1385980d465cf3d 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -107,7 +107,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 { |