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