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