Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 984b7093fce182fa7e7699879232d3df0676a762..a61d91f53246969b03951071edb9200d7cd3b81e 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -5466,12 +5466,11 @@ void Generate_LoadIC_Miss(CodeStubAssembler* assembler) { |
void Generate_LoadGlobalIC_Miss(CodeStubAssembler* assembler) { |
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); |
- assembler->TailCallRuntime(Runtime::kLoadGlobalIC_Miss, context, name, slot, |
+ assembler->TailCallRuntime(Runtime::kLoadGlobalIC_Miss, context, slot, |
vector); |
} |
@@ -5498,23 +5497,23 @@ void Generate_LoadIC_Slow(CodeStubAssembler* assembler) { |
void Generate_LoadGlobalIC_SlowInsideTypeof(CodeStubAssembler* assembler) { |
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); |
- assembler->TailCallRuntime(Runtime::kGetGlobalInsideTypeof, context, name); |
+ assembler->TailCallRuntime(Runtime::kGetGlobalInsideTypeof, context, slot, |
+ vector); |
} |
void Generate_LoadGlobalIC_SlowNotInsideTypeof(CodeStubAssembler* assembler) { |
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); |
- assembler->TailCallRuntime(Runtime::kGetGlobalNotInsideTypeof, context, name); |
+ assembler->TailCallRuntime(Runtime::kGetGlobalNotInsideTypeof, context, slot, |
+ vector); |
} |
void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { |