Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 63cd5d0765e6d5c6a55bba10316806eb8cf9260e..5078b19b030467639074fc2449140db4c5e1cfd7 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -471,8 +471,8 @@ Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) { |
// static |
-Callable CodeFactory::FastNewContext(Isolate* isolate, int slot_count) { |
- FastNewFunctionContextStub stub(isolate, slot_count); |
+Callable CodeFactory::FastNewFunctionContext(Isolate* isolate) { |
+ FastNewFunctionContextStub stub(isolate); |
return make_callable(stub); |
} |