forked from OSchip/llvm-project
parent
a6769269f3
commit
11e7b32e4e
|
@ -274,7 +274,7 @@ namespace {
|
|||
|
||||
// isInlineAsm - Check if the instruction is a call to an inline asm chunk
|
||||
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 false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue