mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Add an MCInstrAnalysis version of isCall.
llvm-svn: 138305
This commit is contained in:
parent
9aa40e0f7c
commit
48f01f6a77
@ -43,6 +43,10 @@ public:
|
||||
return Info->get(Inst.getOpcode()).isIndirectBranch();
|
||||
}
|
||||
|
||||
virtual bool isCall(const MCInst &Inst) const {
|
||||
return Info->get(Inst.getOpcode()).isCall();
|
||||
}
|
||||
|
||||
virtual bool isReturn(const MCInst &Inst) const {
|
||||
return Info->get(Inst.getOpcode()).isReturn();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user