OSDN Git Service

Allow isDebug inquiry on any MO.
authorDale Johannesen <dalej@apple.com>
Wed, 10 Feb 2010 23:03:20 +0000 (23:03 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 10 Feb 2010 23:03:20 +0000 (23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95818 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineOperand.h

index 0bb6d7d..dac0092 100644 (file)
@@ -220,7 +220,6 @@ public:
 
   bool isDebug() const {
     assert(isReg() && "Wrong MachineOperand accessor");
-    assert(!isDef() && "Wrong MachineOperand accessor");
     return IsDebug;
   }