Index: test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
index f24c818c3b51eb839a60d1288931aba3d4242cae..9e2ea863bcbc1d01f1757e4c38989632a6e0b45c 100644 |
--- a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
@@ -229,7 +229,8 @@ |
CHECK_EQ(iterator.current_bytecode(), Bytecode::kCallRuntime); |
CHECK_EQ(iterator.current_offset(), offset); |
CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
- CHECK_EQ(iterator.GetRuntimeIdOperand(0), Runtime::kLoadIC_Miss); |
+ CHECK_EQ(static_cast<Runtime::FunctionId>(iterator.GetRuntimeIdOperand(0)), |
+ Runtime::kLoadIC_Miss); |
CHECK_EQ(iterator.GetRegisterOperand(1).index(), reg_0.index()); |
CHECK_EQ(iterator.GetRegisterCountOperand(2), 1); |
CHECK(!iterator.done()); |