fix a valgrind error on copy-constructor-synthesis.cpp, which is caused when
authorChris Lattner <sabre@nondot.org>
Thu, 25 Mar 2010 18:49:10 +0000 (18:49 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 25 Mar 2010 18:49:10 +0000 (18:49 +0000)
commit7bf198fd607b356e767e0577cac81c3491c4bc90
treeb1472380ed992d0b28b97467b9e63e0ae7b9fb12
parentfd59f4cd3d099bf737a01eb75240fbf8e51cab62
fix a valgrind error on copy-constructor-synthesis.cpp, which is caused when
the custom insertion hook deletes the instruction, then we try to set dead
flags on it.  Neither the code that I added nor the code that was there
before was safe.

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