forked from OSchip/llvm-project
Use the correct predicate for determining if a branch is conditional or not.
llvm-svn: 142257
This commit is contained in:
parent
c68c8cb8d4
commit
d6598596f9
|
@ -33,7 +33,7 @@ public:
|
|||
}
|
||||
|
||||
virtual bool isConditionalBranch(const MCInst &Inst) const {
|
||||
return Info->get(Inst.getOpcode()).isBranch();
|
||||
return Info->get(Inst.getOpcode()).isConditionalBranch();
|
||||
}
|
||||
|
||||
virtual bool isUnconditionalBranch(const MCInst &Inst) const {
|
||||
|
|
Loading…
Reference in New Issue