Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 483948c45b34b222db3e778f19a1bbc8ba36b295..e99cff351882b12120c686fbde89a981642e2f76 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::FastNewContext(Isolate* isolate) { |
+ FastNewFunctionContextStub stub(isolate); |
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
} |