vc4: Make qir_for_each_inst_inorder() safe against removal.
authorEric Anholt <eric@anholt.net>
Wed, 23 Nov 2016 20:23:55 +0000 (12:23 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 29 Nov 2016 16:38:59 +0000 (08:38 -0800)
commita025983dd9cfcba8a452205efbc5c0be8ff3da74
tree07dd597488583fae24076585c6060bdc0492bf33
parent27544ea8d330309a7f1604bece6d2fcb4e9a8ae3
vc4: Make qir_for_each_inst_inorder() safe against removal.

The dead code elimination wants it to be safe, and I actually got
segfaults due to it being unsafe with the new coalescing pass.
src/gallium/drivers/vc4/vc4_qir.h