summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineOperand.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-02-10 23:03:20 +0000
committerDale Johannesen <dalej@apple.com>2010-02-10 23:03:20 +0000
commit9a722caa26eaa19fe39e62acc05fd4e1902eb92b (patch)
tree789db0317f197a6e61f94d86a25538fcf08d6255 /include/llvm/CodeGen/MachineOperand.h
parent5e2b05a71e81b28712b77419f68657462494e103 (diff)
downloadllvm-9a722caa26eaa19fe39e62acc05fd4e1902eb92b.tar.gz
llvm-9a722caa26eaa19fe39e62acc05fd4e1902eb92b.tar.bz2
llvm-9a722caa26eaa19fe39e62acc05fd4e1902eb92b.tar.xz
Allow isDebug inquiry on any MO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineOperand.h')
-rw-r--r--include/llvm/CodeGen/MachineOperand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h
index 0bb6d7d3b5..dac00921b1 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;
}