Author: fjahanian
Date: Thu Feb  3 18:08:13 2011
New Revision: 124835

URL: http://llvm.org/viewvc/llvm-project?rev=124835&view=rev
Log:
What was I thinking?


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

Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=124835&r1=124834&r2=124835&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Thu Feb  3 18:08:13 2011
@@ -374,9 +374,7 @@
   // In C99 mode, 'inline' functions are guaranteed to have a strong
   // definition somewhere else, so we can use available_externally linkage.
   if (Linkage == GVA_C99Inline)
-    return !Context.getLangOptions().AppleKext
-             ? llvm::Function::AvailableExternallyLinkage
-             : llvm::Function::InternalLinkage;
+    return llvm::Function::AvailableExternallyLinkage;
   
   // In C++, the compiler has to emit a definition in every translation unit
   // that references the function.  We should use linkonce_odr because


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to