[llvm-commits] [llvm] r95818 - /llvm/trunk/include/llvm/CodeGen/MachineOperand.h

Dale Johannesen dalej at apple.com
Wed Feb 10 15:03:21 PST 2010


Author: johannes
Date: Wed Feb 10 17:03:20 2010
New Revision: 95818

URL: http://llvm.org/viewvc/llvm-project?rev=95818&view=rev
Log:
Allow isDebug inquiry on any MO.


Modified:
    llvm/trunk/include/llvm/CodeGen/MachineOperand.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineOperand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineOperand.h?rev=95818&r1=95817&r2=95818&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineOperand.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineOperand.h Wed Feb 10 17:03:20 2010
@@ -220,7 +220,6 @@
 
   bool isDebug() const {
     assert(isReg() && "Wrong MachineOperand accessor");
-    assert(!isDef() && "Wrong MachineOperand accessor");
     return IsDebug;
   }
 





More information about the llvm-commits mailing list