| Index: src/interpreter/bytecode-array-builder.cc
|
| diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc
|
| index 82a8cea7a746c8b8c5a7f2010f0ec583fb6ccd0d..5976c6686e51bd92459a8968befa8c2818ceafee 100644
|
| --- a/src/interpreter/bytecode-array-builder.cc
|
| +++ b/src/interpreter/bytecode-array-builder.cc
|
| @@ -573,16 +573,11 @@
|
| DCHECK_EQ(0u, arg_count);
|
| first_arg = Register(0);
|
| }
|
| - Bytecode bytecode;
|
| - uint32_t id;
|
| - if (IntrinsicsHelper::IsSupported(function_id)) {
|
| - bytecode = Bytecode::kInvokeIntrinsic;
|
| - id = static_cast<uint32_t>(IntrinsicsHelper::FromRuntimeId(function_id));
|
| - } else {
|
| - bytecode = Bytecode::kCallRuntime;
|
| - id = static_cast<uint32_t>(function_id);
|
| - }
|
| - Output(bytecode, id, RegisterOperand(first_arg), UnsignedOperand(arg_count));
|
| + Bytecode bytecode = IntrinsicsHelper::IsSupported(function_id)
|
| + ? Bytecode::kInvokeIntrinsic
|
| + : Bytecode::kCallRuntime;
|
| + Output(bytecode, static_cast<uint16_t>(function_id),
|
| + RegisterOperand(first_arg), UnsignedOperand(arg_count));
|
| return *this;
|
| }
|
|
|
| @@ -696,7 +691,6 @@
|
| break;
|
| }
|
| case OperandType::kFlag8:
|
| - case OperandType::kIntrinsicId:
|
| if (Bytecodes::SizeForUnsignedOperand(operands[i]) >
|
| OperandSize::kByte) {
|
| return false;
|
|
|