[llvm-commits] [dragonegg] r173223 - /dragonegg/trunk/src/Convert.cpp

NAKAMURA Takumi geek4civic at gmail.com
Tue Jan 22 18:25:06 PST 2013


Author: chapuni
Date: Tue Jan 22 20:25:06 2013
New Revision: 173223

URL: http://llvm.org/viewvc/llvm-project?rev=173223&view=rev
Log:
Convert.cpp: Fixup in AttributeSet.

Modified:
    dragonegg/trunk/src/Convert.cpp

Modified: dragonegg/trunk/src/Convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Convert.cpp?rev=173223&r1=173222&r2=173223&view=diff
==============================================================================
--- dragonegg/trunk/src/Convert.cpp (original)
+++ dragonegg/trunk/src/Convert.cpp Tue Jan 22 20:25:06 2013
@@ -3372,8 +3372,8 @@
       // If the argument is split into multiple scalars, assign the
       // attributes to all scalars of the aggregate.
       for (unsigned j = OldSize + 1; j <= CallOperands.size(); ++j)
-        PAL = PAL.addAttr(Context, j,
-                          AttributeSet::get(Context, j, AttrBuilder));
+        PAL = PAL.addAttributes(Context, j,
+                                AttributeSet::get(Context, j, AttrBuilder));
     }
 
     Client.clear();





More information about the llvm-commits mailing list