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)); |