From 9a722caa26eaa19fe39e62acc05fd4e1902eb92b Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 10 Feb 2010 23:03:20 +0000 Subject: [PATCH] Allow isDebug inquiry on any MO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95818 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineOperand.h | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.34.1