| Index: src/compiler/interpreter-assembler.cc
|
| diff --git a/src/compiler/interpreter-assembler.cc b/src/compiler/interpreter-assembler.cc
|
| index 756f072e1151b92326d94d23ff1bb0aee2ea1292..ed056cfe563cfc24497c865321cd3e0c126ac06e 100644
|
| --- a/src/compiler/interpreter-assembler.cc
|
| +++ b/src/compiler/interpreter-assembler.cc
|
| @@ -226,8 +226,12 @@ Node* InterpreterAssembler::BytecodeOperandIdx(int operand_index) {
|
|
|
|
|
| Node* InterpreterAssembler::BytecodeOperandReg(int operand_index) {
|
| - DCHECK_EQ(interpreter::OperandType::kReg8,
|
| - interpreter::Bytecodes::GetOperandType(bytecode_, operand_index));
|
| +#ifdef DEBUG
|
| + interpreter::OperandType operand_type =
|
| + interpreter::Bytecodes::GetOperandType(bytecode_, operand_index);
|
| + DCHECK(operand_type == interpreter::OperandType::kReg8 ||
|
| + operand_type == interpreter::OperandType::kMaybeReg8);
|
| +#endif
|
| return BytecodeOperandSignExtended(operand_index);
|
| }
|
|
|
|
|