[llvm-commits] [dragonegg] r157558 - /dragonegg/trunk/src/Types.cpp
Chris Lattner
sabre at nondot.org
Sun May 27 18:48:44 PDT 2012
Author: lattner
Date: Sun May 27 20:48:44 2012
New Revision: 157558
URL: http://llvm.org/viewvc/llvm-project?rev=157558&view=rev
Log:
adjust to mainline API change.
Modified:
dragonegg/trunk/src/Types.cpp
Modified: dragonegg/trunk/src/Types.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Types.cpp?rev=157558&r1=157557&r2=157558&view=diff
==============================================================================
--- dragonegg/trunk/src/Types.cpp (original)
+++ dragonegg/trunk/src/Types.cpp Sun May 27 20:48:44 2012
@@ -728,7 +728,7 @@
Attrs.push_back(AttributeWithIndex::get(ArgTys.size(), PAttributes));
}
- PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());
+ PAL = AttrListPtr::get(Attrs);
return FunctionType::get(RetTy, ArgTys, false);
}
@@ -903,7 +903,7 @@
Attrs.push_back(AttributeWithIndex::get(~0, FnAttributes));
// Finally, make the function type and result attributes.
- PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());
+ PAL = AttrListPtr::get(Attrs);
return FunctionType::get(RetTy, ArgTypes, Args == 0);
}
More information about the llvm-commits
mailing list