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

Unified Diff: src/builtins/builtins-function.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-conversion.cc ('k') | src/builtins/builtins-internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-function.cc
diff --git a/src/builtins/builtins-function.cc b/src/builtins/builtins-function.cc
index b3b10f7f4ce8a4750736c288a152f7632b9a3d7a..57920cd4727e5439eb7df1c452b1f23fb7a3d591 100644
--- a/src/builtins/builtins-function.cc
+++ b/src/builtins/builtins-function.cc
@@ -371,16 +371,13 @@ void Builtins::Generate_FastFunctionPrototypeBind(
&empty_arguments);
Node* elements_length = assembler.ChangeUint32ToWord(
assembler.Int32Sub(argc, assembler.Int32Constant(1)));
- Node* elements = assembler.AllocateFixedArray(
- FAST_ELEMENTS, elements_length, CodeStubAssembler::INTPTR_PARAMETERS);
+ Node* elements = assembler.AllocateFixedArray(FAST_ELEMENTS, elements_length);
Variable index(&assembler, MachineType::PointerRepresentation());
index.Bind(assembler.IntPtrConstant(0));
CodeStubAssembler::VariableList foreach_vars({&index}, assembler.zone());
args.ForEach(foreach_vars,
[&assembler, elements, &index](compiler::Node* arg) {
- assembler.StoreFixedArrayElement(
- elements, index.value(), arg, UPDATE_WRITE_BARRIER, 0,
- CodeStubAssembler::INTPTR_PARAMETERS);
+ assembler.StoreFixedArrayElement(elements, index.value(), arg);
assembler.Increment(index);
},
assembler.IntPtrConstant(1));
« no previous file with comments | « src/builtins/builtins-conversion.cc ('k') | src/builtins/builtins-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698