From 9ca9acfaff3c5e9f9dc86b830ef0255610e254e7 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Mon, 17 Oct 2011 21:21:44 +0000 Subject: [PATCH] Use the correct predicate for determining if a branch is conditional or not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142257 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCInstrAnalysis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/MC/MCInstrAnalysis.h b/include/llvm/MC/MCInstrAnalysis.h index 8f3c499b1c7..acad6336aca 100644 --- a/include/llvm/MC/MCInstrAnalysis.h +++ b/include/llvm/MC/MCInstrAnalysis.h @@ -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 { -- 2.34.1