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 5f8ce63a2d4197b0cd0d9bba6e7fdf0952660cbd..a9a919c0781c48fd3b6707656c1f2c850634e5f1 100644 |
--- a/test/cctest/interpreter/test-bytecode-generator.cc |
+++ b/test/cctest/interpreter/test-bytecode-generator.cc |
@@ -180,8 +180,8 @@ static void CheckBytecodeArrayEqual(const ExpectedSnippet<T>& expected, |
static_cast<uint32_t>(expected.bytecode[operand_index]); |
break; |
case OperandSize::kShort: |
- expected_operand = Bytecodes::ShortOperandFromBytes( |
- &expected.bytecode[operand_index]); |
+ expected_operand = |
+ ReadUnalignedUInt16(&expected.bytecode[operand_index]); |
break; |
default: |
UNREACHABLE(); |