[llvm-commits] [llvm] r57278 - /llvm/branches/release_24/include/llvm/Function.h

Tanya Lattner tonic at nondot.org
Tue Oct 7 16:17:49 PDT 2008


Author: tbrethou
Date: Tue Oct  7 18:17:48 2008
New Revision: 57278

URL: http://llvm.org/viewvc/llvm-project?rev=57278&view=rev
Log:
Merge from mainline.
Fix disagreement about where the attributes are
~0 != ~0U.

Modified:
    llvm/branches/release_24/include/llvm/Function.h

Modified: llvm/branches/release_24/include/llvm/Function.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_24/include/llvm/Function.h?rev=57278&r1=57277&r2=57278&view=diff

==============================================================================
--- llvm/branches/release_24/include/llvm/Function.h (original)
+++ llvm/branches/release_24/include/llvm/Function.h Tue Oct  7 18:17:48 2008
@@ -158,7 +158,7 @@
   ///
   void addFnAttr(Attributes N) { 
     // Function Attributes are stored at ~0 index 
-    addAttribute(~0, N);
+    addAttribute(~0U, N);
   }
 
   /// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm





More information about the llvm-commits mailing list