Use the correct predicate for determining if a branch is conditional or not.

llvm-svn: 142257
This commit is contained in:
Owen Anderson 2011-10-17 21:21:44 +00:00
parent c68c8cb8d4
commit d6598596f9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {