Index: src/interpreter/interpreter-assembler.cc |
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc |
index 88070fc3b7ee404d5f6fe162e480ccd3ef816ef3..e0da660850cd2ac5ac209ee43c615ae3bb1cf812 100644 |
--- a/src/interpreter/interpreter-assembler.cc |
+++ b/src/interpreter/interpreter-assembler.cc |
@@ -451,16 +451,13 @@ |
return SmiFromWord32(BytecodeOperandImm(operand_index)); |
} |
-Node* InterpreterAssembler::BytecodeOperandIdxInt32(int operand_index) { |
+Node* InterpreterAssembler::BytecodeOperandIdx(int operand_index) { |
DCHECK(OperandType::kIdx == |
Bytecodes::GetOperandType(bytecode_, operand_index)); |
OperandSize operand_size = |
Bytecodes::GetOperandSize(bytecode_, operand_index, operand_scale()); |
- return BytecodeUnsignedOperand(operand_index, operand_size); |
-} |
- |
-Node* InterpreterAssembler::BytecodeOperandIdx(int operand_index) { |
- return ChangeUint32ToWord(BytecodeOperandIdxInt32(operand_index)); |
+ return ChangeUint32ToWord( |
+ BytecodeUnsignedOperand(operand_index, operand_size)); |
} |
Node* InterpreterAssembler::BytecodeOperandIdxSmi(int operand_index) { |