Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index a12763213a7f6743d0523a5917a0e17fb6bfdbb2..6bda980eafa03c3432aef6c15203280f1e913821 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -330,6 +330,12 @@ Callable CodeFactory::Construct(Isolate* isolate) { |
} |
// static |
+Callable CodeFactory::ConstructWithArrayLike(Isolate* isolate) { |
petermarshall
2017/06/21 08:46:19
You should be able to use Builtins::CallableFor(ma
Benedikt Meurer
2017/06/21 12:05:25
Done.
|
+ return Callable(isolate->builtins()->ConstructWithArrayLike(), |
+ ConstructWithArrayLikeDescriptor(isolate)); |
+} |
+ |
+// static |
Callable CodeFactory::ConstructWithSpread(Isolate* isolate) { |
return Callable(isolate->builtins()->ConstructWithSpread(), |
ConstructWithSpreadDescriptor(isolate)); |