From: Dale Johannesen Date: Wed, 10 Feb 2010 23:03:20 +0000 (+0000) Subject: Allow isDebug inquiry on any MO. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9a722caa26eaa19fe39e62acc05fd4e1902eb92b;p=oota-llvm.git Allow isDebug inquiry on any MO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95818 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h index 0bb6d7d3b5e..dac00921b1a 100644 --- a/include/llvm/CodeGen/MachineOperand.h +++ b/include/llvm/CodeGen/MachineOperand.h @@ -220,7 +220,6 @@ public: bool isDebug() const { assert(isReg() && "Wrong MachineOperand accessor"); - assert(!isDef() && "Wrong MachineOperand accessor"); return IsDebug; }