[llvm-commits] [dragonegg] r165700 - /dragonegg/trunk/include/x86/dragonegg/Target.h

Bill Wendling isanbard at gmail.com
Wed Oct 10 22:20:05 PDT 2012


Author: void
Date: Thu Oct 11 00:20:05 2012
New Revision: 165700

URL: http://llvm.org/viewvc/llvm-project?rev=165700&view=rev
Log:
Correctly create the attribute for this macro.

Modified:
    dragonegg/trunk/include/x86/dragonegg/Target.h

Modified: dragonegg/trunk/include/x86/dragonegg/Target.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/include/x86/dragonegg/Target.h?rev=165700&r1=165699&r2=165700&view=diff
==============================================================================
--- dragonegg/trunk/include/x86/dragonegg/Target.h (original)
+++ dragonegg/trunk/include/x86/dragonegg/Target.h Thu Oct 11 00:20:05 2012
@@ -95,7 +95,7 @@
                   (Size + BITS_PER_WORD - 1) / BITS_PER_WORD;   \
           local_regparm -= words;                               \
           if (local_regparm>=0)                                 \
-            PAttribute |= Attribute::InReg;                     \
+            PAttribute |= Attributes(Attributes::InReg);        \
           else                                                  \
             local_regparm = 0;                                  \
       }                                                         \





More information about the llvm-commits mailing list