use abstract interface

llvm-svn: 100758
This commit is contained in:
Gabor Greif 2010-04-08 12:52:19 +00:00
parent a6769269f3
commit 11e7b32e4e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}