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

Unified Diff: src/builtins/builtins-internal.cc

Issue 2580533002: [stubs] Remove CSA::INTEGER_PARAMETERS in favor of CSA::INTPTR_PARAMETERS. (Closed)
Patch Set: Addressing comments Created 4 years 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/builtins/builtins-function.cc ('k') | src/builtins/builtins-promise.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-internal.cc
diff --git a/src/builtins/builtins-internal.cc b/src/builtins/builtins-internal.cc
index 67a0370473c42f47b2d481372cbd6b5639ecf711..741537eb462e20e63e4e4051ba6bd0089b9e0c65 100644
--- a/src/builtins/builtins-internal.cc
+++ b/src/builtins/builtins-internal.cc
@@ -173,8 +173,7 @@ void Generate_NewArgumentsElements(CodeStubAssembler* assembler,
assembler->Bind(&if_notempty);
{
// Allocate a FixedArray in new space.
- Node* result = assembler->AllocateFixedArray(
- kind, length, CodeStubAssembler::INTPTR_PARAMETERS);
+ Node* result = assembler->AllocateFixedArray(kind, length);
// Compute the effective {offset} into the {frame}.
Node* offset = assembler->IntPtrAdd(length, assembler->IntPtrConstant(1));
@@ -200,8 +199,7 @@ void Generate_NewArgumentsElements(CodeStubAssembler* assembler,
// Store the {value} into the {result}.
assembler->StoreFixedArrayElement(result, index, value,
- SKIP_WRITE_BARRIER, 0,
- CodeStubAssembler::INTPTR_PARAMETERS);
+ SKIP_WRITE_BARRIER);
// Continue with next {index}.
var_index.Bind(
« no previous file with comments | « src/builtins/builtins-function.cc ('k') | src/builtins/builtins-promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698