Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index dd2f3cfda049d39fc074840d0fbd30a9e830733e..c1881b6cbb6a03711dab3d90a17ec79d17039a19 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -256,11 +256,7 @@ bool LCodeGen::GeneratePrologue() { |
Comment(";;; Allocate local context"); |
bool need_write_barrier = true; |
// Argument to NewContext is the function, which is still in edi. |
- if (FLAG_harmony_scoping && info()->scope()->is_global_scope()) { |
- __ push(edi); |
- __ Push(info()->scope()->GetScopeInfo()); |
- __ CallRuntime(Runtime::kNewGlobalContext, 2); |
- } else if (heap_slots <= FastNewContextStub::kMaximumSlots) { |
+ if (heap_slots <= FastNewContextStub::kMaximumSlots) { |
FastNewContextStub stub(isolate(), heap_slots); |
__ CallStub(&stub); |
// Result of FastNewContextStub is always in new space. |