Index: src/interpreter/interpreter-assembler.cc |
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc |
index d878c5c69370b4904e5963b81e6487f34d7a3ae7..cd17e4cadac333af16d527e1f3e06cedcd80f506 100644 |
--- a/src/interpreter/interpreter-assembler.cc |
+++ b/src/interpreter/interpreter-assembler.cc |
@@ -363,6 +363,15 @@ Node* InterpreterAssembler::BytecodeOperandRuntimeId(int operand_index) { |
return BytecodeUnsignedOperand(operand_index, operand_size); |
} |
+Node* InterpreterAssembler::BytecodeOperandIntrinsicId(int operand_index) { |
+ DCHECK(OperandType::kIntrinsicId == |
+ Bytecodes::GetOperandType(bytecode_, operand_index)); |
+ OperandSize operand_size = |
+ Bytecodes::GetOperandSize(bytecode_, operand_index, operand_scale()); |
+ DCHECK_EQ(operand_size, OperandSize::kByte); |
+ return BytecodeUnsignedOperand(operand_index, operand_size); |
+} |
+ |
Node* InterpreterAssembler::LoadConstantPoolEntry(Node* index) { |
Node* constant_pool = LoadObjectField(BytecodeArrayTaggedPointer(), |
BytecodeArray::kConstantPoolOffset); |