Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index d13edcfe9291794542ee5fc0eb310931b5b2990c..c727c0310ee9c6611ccd47a31fc275fd2ae4e380 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -175,7 +175,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 eax and esi. It replaces the context |