Index: test/cctest/interpreter/test-bytecode-generator.cc |
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc |
index 98b4723cc0b611281a63e44c37cf91e97e3f761f..c41dee3df9beae2c73dda7ea0252e570974e97ea 100644 |
--- a/test/cctest/interpreter/test-bytecode-generator.cc |
+++ b/test/cctest/interpreter/test-bytecode-generator.cc |
@@ -157,7 +157,6 @@ |
switch (Bytecodes::SizeOfOperand(operand_type)) { |
case OperandSize::kNone: |
UNREACHABLE(); |
- return; |
case OperandSize::kByte: |
expected_operand = |
static_cast<uint32_t>(expected.bytecode[operand_index]); |
@@ -166,9 +165,6 @@ |
expected_operand = Bytecodes::ShortOperandFromBytes( |
&expected.bytecode[operand_index]); |
break; |
- default: |
- UNREACHABLE(); |
- return; |
} |
if (raw_operand != expected_operand) { |
std::ostringstream stream; |