Index: test/cctest/test-code-stub-assembler.cc |
diff --git a/test/cctest/test-code-stub-assembler.cc b/test/cctest/test-code-stub-assembler.cc |
index a1f733b8488d7f249a65d4ea91b07b7f90822d43..8657819c60eea82bc158313875fe75f21f014efc 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -1742,9 +1742,8 @@ TEST(ArgumentsForEach) { |
sum.Bind(m.IntPtrConstant(0)); |
- arguments.ForEach(list, [&m, &sum](CodeStubAssembler* assembler, Node* arg) { |
- sum.Bind(assembler->IntPtrAdd(sum.value(), arg)); |
- }); |
+ arguments.ForEach( |
+ list, [&m, &sum](Node* arg) { sum.Bind(m.IntPtrAdd(sum.value(), arg)); }); |
m.Return(sum.value()); |