projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bd7335
)
use abstract interface
author
Gabor Greif
<ggreif@gmail.com>
Thu, 8 Apr 2010 12:52:19 +0000
(12:52 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Thu, 8 Apr 2010 12:52:19 +0000
(12:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100758
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CBackend/CBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CBackend/CBackend.cpp
b/lib/Target/CBackend/CBackend.cpp
index 45e14bf19303d2b306f655252478e1fc2d0b781a..0d0af46dfd974d8e7b9ee7d48a4b1030a83c4003 100644
(file)
--- a/
lib/Target/CBackend/CBackend.cpp
+++ b/
lib/Target/CBackend/CBackend.cpp
@@
-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.get
Operand(0
)))
+ if (isa<CallInst>(&I) && isa<InlineAsm>(I.get
CalledValue(
)))
return true;
return false;
}