Index: src/builtins/builtins-regexp.cc |
diff --git a/src/builtins/builtins-regexp.cc b/src/builtins/builtins-regexp.cc |
index 0f3851f427257d0afb13f518ef469fee01424156..356cd4b9ff2ca0d838563ad819b27606c256320b 100644 |
--- a/src/builtins/builtins-regexp.cc |
+++ b/src/builtins/builtins-regexp.cc |
@@ -2159,8 +2159,8 @@ Node* ReplaceGlobalCallableFastPath(CodeStubAssembler* a, Node* context, |
a->BuildFastLoop( |
MachineType::PointerRepresentation(), from, to, |
- [res_elems, isolate, native_context, context, undefined, |
- replace_callable, mode](CodeStubAssembler* a, Node* index) { |
+ [a, res_elems, isolate, native_context, context, undefined, |
+ replace_callable, mode](Node* index) { |
Node* const elem = |
a->LoadFixedArrayElement(res_elems, index, 0, mode); |