mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-14 18:30:19 +00:00
Remove unused lambda capture (#2350)
This commit is contained in:
parent
3b6fee3dae
commit
63e032f910
@ -53,7 +53,7 @@ bool IsMerge(IRContext* context, BasicBlock* block) {
|
||||
// predecessor, replacing uses of OpPhi ids with the ids associated with the
|
||||
// predecessor.
|
||||
void EliminateOpPhiInstructions(IRContext* context, BasicBlock* block) {
|
||||
block->ForEachPhiInst([context, block](Instruction* phi) {
|
||||
block->ForEachPhiInst([context](Instruction* phi) {
|
||||
assert(2 == phi->NumInOperands() &&
|
||||
"A block can only have one predecessor for block merging to make "
|
||||
"sense.");
|
||||
|
Loading…
Reference in New Issue
Block a user