Add an assertion to the ScheduleDAGInstrs class to catch SUnits
authorDan Gohman <gohman@apple.com>
Mon, 22 Dec 2008 21:08:08 +0000 (21:08 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 22 Dec 2008 21:08:08 +0000 (21:08 +0000)
commit361c31da5e9bd70d6b336207056519af9ff94062
tree967b6bb92f085d2d332f8f34fb6de323059fd34c
parentfb8a1356b2aa2869b2a8ad13fe87bc43c349dd31
Add an assertion to the ScheduleDAGInstrs class to catch SUnits
reallocations. We don't do cloning on MachineInstr schedule DAGs,
but this is a worthwhile sanity check regardless.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61343 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAGInstrs.h