Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 1781fa5d92b6ce9cc20eb768204a9e625232b8d3..e0c3ae3d1df9c388f7b4e5cffd4526a9be943d14 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -184,7 +184,7 @@ bool LCodeGen::GeneratePrologue() { |
FastNewContextStub stub(heap_slots); |
__ CallStub(&stub); |
} else { |
- __ CallRuntime(Runtime::kNewContext, 1); |
+ __ CallRuntime(Runtime::kNewFunctionContext, 1); |
} |
RecordSafepoint(Safepoint::kNoDeoptimizationIndex); |
// Context is returned in both eax and esi. It replaces the context |