Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index a4d91a9fa23b2de35911a4e3fa85754b5cdc957b..705701d3d840a7025ac10727dbd8c1e79eedd0f8 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -448,24 +448,24 @@ void LoadGlobalICTrampolineStub::GenerateAssembly( |
CodeStubAssembler* assembler) const { |
typedef compiler::Node Node; |
- Node* name = assembler->Parameter(0); |
- Node* slot = assembler->Parameter(1); |
- Node* context = assembler->Parameter(2); |
+ Node* slot = assembler->Parameter(0); |
+ Node* context = assembler->Parameter(1); |
Node* vector = assembler->LoadTypeFeedbackVectorForStub(); |
- CodeStubAssembler::LoadICParameters p(context, nullptr, name, slot, vector); |
+ CodeStubAssembler::LoadICParameters p(context, nullptr, nullptr, slot, |
+ vector); |
assembler->LoadGlobalIC(&p); |
} |
void LoadGlobalICStub::GenerateAssembly(CodeStubAssembler* assembler) const { |
typedef compiler::Node Node; |
- Node* name = assembler->Parameter(0); |
- Node* slot = assembler->Parameter(1); |
- Node* vector = assembler->Parameter(2); |
- Node* context = assembler->Parameter(3); |
+ Node* slot = assembler->Parameter(0); |
+ Node* vector = assembler->Parameter(1); |
+ Node* context = assembler->Parameter(2); |
- CodeStubAssembler::LoadICParameters p(context, nullptr, name, slot, vector); |
+ CodeStubAssembler::LoadICParameters p(context, nullptr, nullptr, slot, |
+ vector); |
assembler->LoadGlobalIC(&p); |
} |