commit | 15d75d9f11f877bf3716257013b563e67341b0ed | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Dec 03 01:49:56 2009 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Dec 03 01:49:56 2009 +0000 |
tree | 153665bdacd141fe6f21f3a950a5eb691c6247b6 | |
parent | fd82af0f9531ee4f25c223dd33b9c1e5fd39dfcc [diff] |
Don't hang on to pointers or references after vector::push_back. The MO reference to a MachineOperand can be invalidated by MachineInstr::addOperand. Don't even use it for debugging. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90381 91177308-0d34-0410-b5e6-96231b3b80d8