r176398 - LLVM API changes.

Peter Collingbourne peter at pcc.me.uk
Fri Mar 1 17:20:23 PST 2013


Author: pcc
Date: Fri Mar  1 19:20:22 2013
New Revision: 176398

URL: http://llvm.org/viewvc/llvm-project?rev=176398&view=rev
Log:
LLVM API changes.

Modified:
    cfe/trunk/lib/CodeGen/CGStmt.cpp

Modified: cfe/trunk/lib/CodeGen/CGStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmt.cpp?rev=176398&r1=176397&r2=176398&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmt.cpp Fri Mar  1 19:20:22 2013
@@ -1647,8 +1647,7 @@ void CodeGenFunction::EmitAsmStmt(const
                          /* IsAlignStack */ false, AsmDialect);
   llvm::CallInst *Result = Builder.CreateCall(IA, Args);
   Result->addAttribute(llvm::AttributeSet::FunctionIndex,
-                       llvm::Attribute::get(getLLVMContext(),
-                                             llvm::Attribute::NoUnwind));
+                       llvm::Attribute::NoUnwind);
 
   // Slap the source location of the inline asm into a !srcloc metadata on the
   // call.  FIXME: Handle metadata for MS-style inline asms.





More information about the cfe-commits mailing list