Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index defdaa4dc0d5faa21e403d5f5af2e777076c1424..0fea985efee2911cb141fdc4857e2d021d42a407 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -63,8 +63,7 @@ int8_t BytecodeArrayIterator::GetImmediateOperand(int operand_index) const { |
return static_cast<int8_t>(operand); |
} |
- |
-int BytecodeArrayIterator::GetCountOperand(int operand_index) const { |
+int BytecodeArrayIterator::GetRegisterCountOperand(int operand_index) const { |
OperandSize size = |
Bytecodes::GetOperandSize(current_bytecode(), operand_index); |
OperandType type = (size == OperandSize::kByte) ? OperandType::kRegCount8 |
@@ -131,7 +130,7 @@ int BytecodeArrayIterator::GetRegisterOperandRange(int operand_index) const { |
OperandType next_operand_type = |
Bytecodes::GetOperandType(current_bytecode(), operand_index + 1); |
if (Bytecodes::IsRegisterCountOperandType(next_operand_type)) { |
- return GetCountOperand(operand_index + 1); |
+ return GetRegisterCountOperand(operand_index + 1); |
} |
} |
return 1; |