Fix memory leak reported by valgrind.
authorDevang Patel <dpatel@apple.com>
Mon, 19 Jul 2010 23:25:39 +0000 (23:25 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 19 Jul 2010 23:25:39 +0000 (23:25 +0000)
commit58b8176ed39038240984c0966fef847fe37c86c1
tree7a6b05e8c5991ac282e15e6b07d5db028fb1a54f
parentc6e59b71f50c7c77bc448a936dba8e84d90911e8
Fix memory leak reported by valgrind.
Do not visit operands of old instruction. Visit all operands of new instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocFast.cpp