Reorder fission variables.
[oota-llvm.git] / lib / VMCore / Function.cpp
index 860787e1b8e138620df8014f26d31437b1e4f3c2..9b2046bb1274a7b4347a0cf9e25bf289f446a7b0 100644 (file)
@@ -249,13 +249,13 @@ void Function::dropAllReferences() {
 }
 
 void Function::addAttribute(unsigned i, Attributes attr) {
-  AttrListPtr PAL = getAttributes();
+  AttributeSet PAL = getAttributes();
   PAL = PAL.addAttr(getContext(), i, attr);
   setAttributes(PAL);
 }
 
 void Function::removeAttribute(unsigned i, Attributes attr) {
-  AttrListPtr PAL = getAttributes();
+  AttributeSet PAL = getAttributes();
   PAL = PAL.removeAttr(getContext(), i, attr);
   setAttributes(PAL);
 }