Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 12eb8ac19ffc7c54a6f798f7c82803bede3429f4..5f75ad3c450723ad573bd08fcf85a166a898a938 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -371,8 +371,8 @@ Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) { |
// static |
Callable CodeFactory::FastNewFunctionContext(Isolate* isolate, |
ScopeType scope_type) { |
- FastNewFunctionContextStub stub(isolate, scope_type); |
- return make_callable(stub); |
+ return Callable(isolate->builtins()->NewFunctionContext(scope_type), |
+ FastNewFunctionContextDescriptor(isolate)); |
} |
// static |