| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 9df203fc2517b7d26fcbc837a877f85277c2d5cb..1bc2141a2078a535d1bcdb9c3a398b624e762140 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -1069,7 +1069,7 @@
|
| Node* callee =
|
| environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
|
| interpreter::Register receiver = bytecode_iterator().GetRegisterOperand(1);
|
| - size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2);
|
| + size_t arg_count = bytecode_iterator().GetCountOperand(2);
|
| VectorSlotPair feedback =
|
| CreateVectorSlotPair(bytecode_iterator().GetIndexOperand(3));
|
|
|
| @@ -1089,7 +1089,7 @@
|
| Node* callee =
|
| BuildLoadNativeContextField(bytecode_iterator().GetIndexOperand(0));
|
| interpreter::Register receiver = bytecode_iterator().GetRegisterOperand(1);
|
| - size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2);
|
| + size_t arg_count = bytecode_iterator().GetCountOperand(2);
|
|
|
| // Create node to perform the JS runtime call.
|
| const Operator* call =
|
| @@ -1120,7 +1120,7 @@
|
| Runtime::FunctionId functionId =
|
| static_cast<Runtime::FunctionId>(bytecode_iterator().GetIndexOperand(0));
|
| interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(1);
|
| - size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2);
|
| + size_t arg_count = bytecode_iterator().GetCountOperand(2);
|
|
|
| // Create node to perform the runtime call.
|
| const Operator* call = javascript()->CallRuntime(functionId, arg_count);
|
| @@ -1137,7 +1137,7 @@
|
| Runtime::FunctionId functionId =
|
| static_cast<Runtime::FunctionId>(bytecode_iterator().GetIndexOperand(0));
|
| interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(1);
|
| - size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2);
|
| + size_t arg_count = bytecode_iterator().GetCountOperand(2);
|
| interpreter::Register first_return =
|
| bytecode_iterator().GetRegisterOperand(3);
|
|
|
| @@ -1176,7 +1176,7 @@
|
| FrameStateBeforeAndAfter states(this);
|
| interpreter::Register callee = bytecode_iterator().GetRegisterOperand(0);
|
| interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(1);
|
| - size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2);
|
| + size_t arg_count = bytecode_iterator().GetCountOperand(2);
|
|
|
| // TODO(turbofan): Pass the feedback here.
|
| const Operator* call = javascript()->CallConstruct(
|
|
|