Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index b3dca0f8af3fba8a40cd80661af50129976cee44..838f9c0bd39282b7a7a010452aafe0d99160acd9 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -398,8 +398,9 @@ Callable CodeFactory::CallWithSpread(Isolate* isolate) { |
} |
// static |
-Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode) { |
- return Callable(isolate->builtins()->CallFunction(mode), |
+Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode, |
+ TailCallMode tail_call_mode) { |
+ return Callable(isolate->builtins()->CallFunction(mode, tail_call_mode), |
CallTrampolineDescriptor(isolate)); |
} |
@@ -470,6 +471,12 @@ Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { |
} |
// static |
+Callable CodeFactory::ArrayConstructor(Isolate* isolate) { |
+ ArrayConstructorStub stub(isolate); |
+ return make_callable(stub); |
+} |
+ |
+// static |
Callable CodeFactory::ArrayPush(Isolate* isolate) { |
return Callable(isolate->builtins()->ArrayPush(), BuiltinDescriptor(isolate)); |
} |