Index: test/cctest/interpreter/generate-bytecode-expectations.cc |
diff --git a/test/cctest/interpreter/generate-bytecode-expectations.cc b/test/cctest/interpreter/generate-bytecode-expectations.cc |
index 8142079a818f547f1b420502f86cc97e337f0969..74c3407d286d9915b69bdd33bd1789c02f0732f1 100644 |
--- a/test/cctest/interpreter/generate-bytecode-expectations.cc |
+++ b/test/cctest/interpreter/generate-bytecode-expectations.cc |
@@ -184,7 +184,7 @@ void PrintBytecodeOperand(std::ostream& stream, |
// We need a cast, otherwise the result is printed as char. |
stream << static_cast<int>(bytecode_iter.GetImmediateOperand(op_index)); |
} else if (Bytecodes::IsRegisterCountOperandType(op_type)) { |
- stream << bytecode_iter.GetCountOperand(op_index); |
+ stream << bytecode_iter.GetRegisterCountOperand(op_index); |
} else if (Bytecodes::IsIndexOperandType(op_type)) { |
stream << bytecode_iter.GetIndexOperand(op_index); |
} else { |