[cfe-commits] r104613 - /cfe/trunk/lib/CodeGen/CGBlocks.cpp

Douglas Gregor dgregor at apple.com
Tue May 25 10:12:30 PDT 2010


Author: dgregor
Date: Tue May 25 12:12:30 2010
New Revision: 104613

URL: http://llvm.org/viewvc/llvm-project?rev=104613&view=rev
Log:
Fix compilation failure

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

Modified: cfe/trunk/lib/CodeGen/CGBlocks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBlocks.cpp?rev=104613&r1=104612&r2=104613&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBlocks.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBlocks.cpp Tue May 25 12:12:30 2010
@@ -794,8 +794,8 @@
   MangleBuffer Name;
   CGM.getMangledName(Name, BD);
   llvm::Function *Fn =
-    llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, Name,
-                           &CGM.getModule());
+    llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, 
+                           Name.getString(), &CGM.getModule());
 
   CGM.SetInternalFunctionAttributes(BD, Fn, FI);
 





More information about the cfe-commits mailing list