Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 4e0da2a3c941bf4c95bc7f740f3ba75f678e4023..a89bb57e84e9a23eccdc45fbb9acdfbaabce3a14 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -460,10 +460,8 @@ Callable CodeFactory::FastNewContext(Isolate* isolate, int slot_count) { |
// static |
-Callable CodeFactory::FastNewClosure(Isolate* isolate, |
- LanguageMode language_mode, |
- FunctionKind kind) { |
- FastNewClosureStub stub(isolate, language_mode, kind); |
+Callable CodeFactory::FastNewClosure(Isolate* isolate) { |
+ FastNewClosureStub stub(isolate); |
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
} |