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

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

Issue 1948433002: [stubs] Convert InternalArrayNoArgumentsConstructor to a TurboFan stub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/arm64/code-stubs-arm64.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index ebde046a9ba4b8c9211aae364fdfa258785c72ac..0fe053e82123777a50b90c12755d642713352ebb 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -142,6 +142,9 @@ class CodeStubAssembler : public compiler::CodeAssembler {
// Context manipulation
compiler::Node* LoadNativeContext(compiler::Node* context);
+ compiler::Node* LoadJSArrayElementsMap(ElementsKind kind,
+ compiler::Node* native_context);
+
// Store the floating point value of a HeapNumber.
compiler::Node* StoreHeapNumberValue(compiler::Node* object,
compiler::Node* value);
@@ -183,9 +186,8 @@ class CodeStubAssembler : public compiler::CodeAssembler {
// Allocate a SeqTwoByteString with the given length.
compiler::Node* AllocateSeqTwoByteString(int length);
// Allocated an JSArray
- compiler::Node* AllocateJSArray(ElementsKind kind,
- compiler::Node* native_context, int capacity,
- int length,
+ compiler::Node* AllocateJSArray(ElementsKind kind, compiler::Node* array_map,
+ int capacity, int length,
compiler::Node* allocation_site = nullptr);
// Allocation site manipulation
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698