Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index de33be0215c3fec062f9fc19ffa6a7ebd99fe83b..843157f6784e8cb9f43d323a01fdcbc2535fe7c5 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -359,8 +359,9 @@ Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) { |
// static |
-Callable CodeFactory::FastNewFunctionContext(Isolate* isolate) { |
- FastNewFunctionContextStub stub(isolate); |
+Callable CodeFactory::FastNewFunctionContext(Isolate* isolate, |
+ ScopeType scope_type) { |
+ FastNewFunctionContextStub stub(isolate, scope_type); |
return make_callable(stub); |
} |