Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 91ea49b4ca0da1b7d05a4dcc040e6cf18fae6917..984b7093fce182fa7e7699879232d3df0676a762 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -5495,7 +5495,7 @@ void Generate_LoadIC_Slow(CodeStubAssembler* assembler) { |
assembler->TailCallRuntime(Runtime::kGetProperty, context, receiver, name); |
} |
-void Generate_LoadGlobalIC_Slow(CodeStubAssembler* assembler) { |
+void Generate_LoadGlobalIC_SlowInsideTypeof(CodeStubAssembler* assembler) { |
typedef compiler::Node Node; |
Node* name = assembler->Parameter(0); |
@@ -5503,7 +5503,18 @@ void Generate_LoadGlobalIC_Slow(CodeStubAssembler* assembler) { |
// Node* vector = assembler->Parameter(2); |
Node* context = assembler->Parameter(3); |
- assembler->TailCallRuntime(Runtime::kGetGlobal, context, name); |
+ assembler->TailCallRuntime(Runtime::kGetGlobalInsideTypeof, context, name); |
+} |
+ |
+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); |
+ |
+ assembler->TailCallRuntime(Runtime::kGetGlobalNotInsideTypeof, context, name); |
} |
void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { |