mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add a predicate to determine if a call is an inline asm statement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
565aafc997
commit
6f615f8d48
@ -1053,6 +1053,11 @@ public:
|
||||
Op<-1>() = Fn;
|
||||
}
|
||||
|
||||
/// isInlineAsm - Check if this call is an inline asm statement.
|
||||
bool isInlineAsm() const {
|
||||
return isa<InlineAsm>(Op<-1>());
|
||||
}
|
||||
|
||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
static inline bool classof(const CallInst *) { return true; }
|
||||
static inline bool classof(const Instruction *I) {
|
||||
|
Loading…
Reference in New Issue
Block a user