[llvm-branch-commits] [llvm-branch] r100759 - in /llvm/branches/ggreif/CallInst-operands: ./ lib/Target/CBackend/CBackend.cpp

Gabor Greif ggreif at gmail.com
Thu Apr 8 05:55:00 PDT 2010


Author: ggreif
Date: Thu Apr  8 07:55:00 2010
New Revision: 100759

URL: http://llvm.org/viewvc/llvm-project?rev=100759&view=rev
Log:
pull from trunk

Modified:
    llvm/branches/ggreif/CallInst-operands/   (props changed)
    llvm/branches/ggreif/CallInst-operands/lib/Target/CBackend/CBackend.cpp

Propchange: llvm/branches/ggreif/CallInst-operands/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Apr  8 07:55:00 2010
@@ -1,3 +1,3 @@
 /llvm/branches/ggreif/InvokeInst-operands:98645-99398
 /llvm/branches/ggreif/const-CallSite:99517-100006
-/llvm/trunk:100544
+/llvm/trunk:100544,100758

Modified: llvm/branches/ggreif/CallInst-operands/lib/Target/CBackend/CBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/CallInst-operands/lib/Target/CBackend/CBackend.cpp?rev=100759&r1=100758&r2=100759&view=diff
==============================================================================
--- llvm/branches/ggreif/CallInst-operands/lib/Target/CBackend/CBackend.cpp (original)
+++ llvm/branches/ggreif/CallInst-operands/lib/Target/CBackend/CBackend.cpp Thu Apr  8 07:55:00 2010
@@ -274,7 +274,7 @@
     
     // 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;
     }





More information about the llvm-branch-commits mailing list