Fix a memory bug: increment an iterator of a deleted machine instr.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 27 Mar 2008 01:27:25 +0000 (01:27 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 27 Mar 2008 01:27:25 +0000 (01:27 +0000)
commit7a963fa8ee2ad90ef456e36c116c046bf2ba8199
tree75cfeea971085bbc3aaceee24f92d01725f397f2
parent7c1483bc6f009318ce66c4d37d1ba930e01a6d13
Fix a memory bug: increment an iterator of a deleted machine instr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48853 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
test/CodeGen/X86/2008-03-25-TwoAddrPassBug.ll [new file with mode: 0644]