Index: src/builtins/builtins-array.cc |
diff --git a/src/builtins/builtins-array.cc b/src/builtins/builtins-array.cc |
index 9de8704db3d3121173fa61f24be4306dc2b889cb..71aa5995ff22e97a9e55b9b8ecd375f2448f8734 100644 |
--- a/src/builtins/builtins-array.cc |
+++ b/src/builtins/builtins-array.cc |
@@ -314,11 +314,10 @@ void Builtins::Generate_FastArrayPush(compiler::CodeAssemblerState* state) { |
assembler.Bind(&default_label); |
{ |
args.ForEach( |
- [receiver, context, &arg_index](CodeStubAssembler* assembler, |
- Node* arg) { |
- Node* length = assembler->LoadJSArrayLength(receiver); |
- assembler->CallRuntime(Runtime::kSetProperty, context, receiver, |
- length, arg, assembler->SmiConstant(STRICT)); |
+ [&assembler, receiver, context, &arg_index](Node* arg) { |
+ Node* length = assembler.LoadJSArrayLength(receiver); |
+ assembler.CallRuntime(Runtime::kSetProperty, context, receiver, |
+ length, arg, assembler.SmiConstant(STRICT)); |
}, |
arg_index.value()); |
args.PopAndReturn(assembler.LoadJSArrayLength(receiver)); |