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