Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index c2639b94df5b10ad6dc105dc597eb5a8f6f03bff..21033c50d513489a098fc8edfd93d4b6a25b8d23 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -454,7 +454,7 @@ Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) { |
// static |
Callable CodeFactory::FastNewContext(Isolate* isolate, int slot_count) { |
- FastNewContextStub stub(isolate, slot_count); |
+ FastNewFunctionContextStub stub(isolate, slot_count); |
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
} |