aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-06-17 01:42:20 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-06-17 01:42:20 +0000
commit61496683b3c688032328119c83ea87df3093bc08 (patch)
treed870f3c3236cda6560aa39cfe1db6cf404c71291 /include/llvm/Target/TargetInstrInfo.h
parenteb83f4e6cd00c50989f14ba41857f6b9e42b9e5e (diff)
downloadexternal_llvm-61496683b3c688032328119c83ea87df3093bc08.zip
external_llvm-61496683b3c688032328119c83ea87df3093bc08.tar.gz
external_llvm-61496683b3c688032328119c83ea87df3093bc08.tar.bz2
Clean up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 6151c43..ae271d2 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -149,8 +149,7 @@ public:
const TargetRegisterClass
*getInstrOperandRegClass(const TargetInstrDescriptor *II, unsigned Op) const {
if (Op >= II->numOperands) {
- if (!(II->Flags & M_VARIABLE_OPS))
- assert(false && "Invalid operand # of instruction");
+ assert((II->Flags & M_VARIABLE_OPS)&& "Invalid operand # of instruction");
return NULL;
}
const TargetOperandInfo &toi = II->OpInfo[Op];