projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f267d
)
Use the correct predicate for determining if a branch is conditional or not.
author
Owen Anderson
<resistor@mac.com>
Mon, 17 Oct 2011 21:21:44 +0000
(21:21 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 17 Oct 2011 21:21:44 +0000
(21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142257
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCInstrAnalysis.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCInstrAnalysis.h
b/include/llvm/MC/MCInstrAnalysis.h
index 8f3c499b1c7382276416ca218f4a0303aa8d3d87..acad6336aca736bd8b547f79b1787edde59c8136 100644
(file)
--- 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()).is
Conditional
Branch();
}
virtual bool isUnconditionalBranch(const MCInst &Inst) const {