mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
use abstract interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1bd7335a17
commit
2fa16e7083
@ -274,7 +274,7 @@ namespace {
|
|||||||
|
|
||||||
// isInlineAsm - Check if the instruction is a call to an inline asm chunk
|
// isInlineAsm - Check if the instruction is a call to an inline asm chunk
|
||||||
static bool isInlineAsm(const Instruction& I) {
|
static bool isInlineAsm(const Instruction& I) {
|
||||||
if (isa<CallInst>(&I) && isa<InlineAsm>(I.getOperand(0)))
|
if (isa<CallInst>(&I) && isa<InlineAsm>(I.getCalledValue()))
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user