Skip to content
Commit d6b71b0d authored by River Riddle's avatar River Riddle Committed by jpienaar
Browse files

Add a Block::dropAllReferences to drop all references from held instructions...

Add a Block::dropAllReferences to drop all references from held instructions and call it when clearing the block. This fixes a bug where ForInst/IfInst instructions may still have references to values while being destroyed.

PiperOrigin-RevId: 229207798
parent a674ae8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment