Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 86be095d1581809f9ceeb050bec721ae193946c7..6c57c5379bdbdfaa2e88e929d3cceedfb18db5f9 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -189,7 +189,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 r0 and cp. It replaces the context |