diff options
author | Owen Anderson <resistor@mac.com> | 2011-10-17 21:21:44 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-10-17 21:21:44 +0000 |
commit | 9ca9acfaff3c5e9f9dc86b830ef0255610e254e7 (patch) | |
tree | 7de24b6672d321f551961f50fdf2607169da1c3e /include | |
parent | 76f267df17b601a87b3d89e718891f7ed2a5be46 (diff) | |
download | llvm-9ca9acfaff3c5e9f9dc86b830ef0255610e254e7.tar.gz llvm-9ca9acfaff3c5e9f9dc86b830ef0255610e254e7.tar.bz2 llvm-9ca9acfaff3c5e9f9dc86b830ef0255610e254e7.tar.xz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCInstrAnalysis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCInstrAnalysis.h b/include/llvm/MC/MCInstrAnalysis.h index 8f3c499b1c..acad6336ac 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 { |