Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index fb84c70f9f15f0614af5857a9615ed7d0cdb610f..4a3d28baada8af4cf9c5c88cc4c937cbe069680e 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -8969,6 +8969,15 @@ Node* CodeStubAssembler::AllocateJSArrayIterator(Node* array, Node* array_map, |
return iterator; |
} |
+Node* CodeStubAssembler::TypedArraySpeciesCreateByLength(Node* context, |
+ Node* originalArray, |
+ Node* len) { |
+ // TODO(tebbi): Install a fast path as well, which avoids the runtime |
+ // call. |
+ return CallRuntime(Runtime::kTypedArraySpeciesCreateByLength, context, |
+ UndefinedConstant(), originalArray, len); |
+} |
+ |
Node* CodeStubAssembler::IsDetachedBuffer(Node* buffer) { |
CSA_ASSERT(this, HasInstanceType(buffer, JS_ARRAY_BUFFER_TYPE)); |