Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 434abf2f573d44e816da6e7781c04d6252de4f08..b0cc8fcf4bcd94b7c994160de23df6af5a2bad60 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -182,7 +182,7 @@ void FullCodeGenerator::Generate(CompilationInfo* info) { |
FastNewContextStub stub(heap_slots); |
__ CallStub(&stub); |
} else { |
- __ CallRuntime(Runtime::kNewContext, 1); |
+ __ CallRuntime(Runtime::kNewFunctionContext, 1); |
} |
function_in_register = false; |
// Context is returned in both r0 and cp. It replaces the context |