OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb83f4e
)
Clean up
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 17 Jun 2006 01:42:20 +0000
(
01:42
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 17 Jun 2006 01:42:20 +0000
(
01:42
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28851
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetInstrInfo.h
b/include/llvm/Target/TargetInstrInfo.h
index
6151c43
..
ae271d2
100644
(file)
--- 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];