Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: src/code-stub-assembler.cc

Issue 2874833004: [array] Fast allocation in Array.p.map (Closed)
Patch Set: Check len smi-ness Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stub-assembler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.cc
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc
index 79d2b7324a51e446b8d0a6e32a3a70d3136d45dc..d8630ba5b3352f314a17a13480004d413489ff6c 100644
--- a/src/code-stub-assembler.cc
+++ b/src/code-stub-assembler.cc
@@ -8846,16 +8846,6 @@ Node* CodeStubAssembler::AllocateJSArrayIterator(Node* array, Node* array_map,
return iterator;
}
-Node* CodeStubAssembler::ArraySpeciesCreate(Node* context, Node* originalArray,
- Node* len) {
- // TODO(mvstanton): Install a fast path as well, which avoids the runtime
- // call.
- Node* constructor =
- CallRuntime(Runtime::kArraySpeciesConstructor, context, originalArray);
- return ConstructJS(CodeFactory::Construct(isolate()), context, constructor,
- len);
-}
-
Node* CodeStubAssembler::IsDetachedBuffer(Node* buffer) {
CSA_ASSERT(this, HasInstanceType(buffer, JS_ARRAY_BUFFER_TYPE));
« no previous file with comments | « src/code-stub-assembler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698