Description[stubs] Cleanup usages of lambdas in CodeStubAssembler and friends.
The changes are:
1) Pass lambdas as const references to avoid unnecessary copying.
2) Remove CodeStubAssembler* parameter from loop bodies and let the lambdas
capture the right assembler instead. It makes the loop body code look
uniform with the surrounding code and unblocks splitting of a CSA
into different classes.
BUG=
Committed: https://crrev.com/3d618949e18fdfeb36f8918f061df3f533e923b8
Cr-Commit-Position: refs/heads/master@{#41482}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 13 (8 generated)
|