Index: src/builtins/builtins-array.cc |
diff --git a/src/builtins/builtins-array.cc b/src/builtins/builtins-array.cc |
index c4453ee5abaf4b50ceec9ed906749ee808ea10f0..5f3bc4250b577428b0b841b66b3b074ac13d0f3b 100644 |
--- a/src/builtins/builtins-array.cc |
+++ b/src/builtins/builtins-array.cc |
@@ -318,7 +318,7 @@ void Builtins::Generate_FastArrayPush(compiler::CodeAssemblerState* state) { |
assembler.Bind(&default_label); |
{ |
args.ForEach( |
- [&assembler, receiver, context, &arg_index](Node* arg) { |
+ [&assembler, receiver, context](Node* arg) { |
Node* length = assembler.LoadJSArrayLength(receiver); |
assembler.CallRuntime(Runtime::kSetProperty, context, receiver, |
length, arg, assembler.SmiConstant(STRICT)); |