Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index b8f1dcdfec856bc3f033c57f109327e8bb313e9f..768980d76b088c3dfe5aee4fe8287259576c62bf 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -47,14 +47,14 @@ uint32_t BytecodeArrayIterator::GetRawOperand(int operand_index, |
bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + |
Bytecodes::GetOperandOffset(current_bytecode(), operand_index); |
switch (Bytecodes::SizeOfOperand(operand_type)) { |
- default: |
- case OperandSize::kNone: |
- UNREACHABLE(); |
case OperandSize::kByte: |
return static_cast<uint32_t>(*operand_start); |
case OperandSize::kShort: |
return ReadUnalignedUInt16(operand_start); |
+ case OperandSize::kNone: |
+ UNREACHABLE(); |
} |
+ return 0; |
} |