Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 7339dfed605a1b404d6f1e937d001b2d7bde790f..92ef3aa316ee729d453d41cffb113561a92fd2f6 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -181,11 +181,7 @@ bool LCodeGen::GeneratePrologue() { |
Comment(";;; Allocate local context"); |
bool need_write_barrier = true; |
// Argument to NewContext is the function, which is in r1. |
- if (FLAG_harmony_scoping && info()->scope()->is_global_scope()) { |
- __ push(r1); |
- __ 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. |