[llvm-commits] r45506 - /llvm/trunk/lib/VMCore/Function.cpp

Chris Lattner sabre at nondot.org
Thu Jan 3 21:13:06 PST 2008


This commit got dropped during the list problems.

Begin forwarded message:
> From: Chris Lattner <sabre at nondot.org>
> Date: January 2, 2008 2:03:28 PM PST
> To: llvm-commits at cs.uiuc.edu
> Subject: [llvm] r45506 - /llvm/trunk/lib/VMCore/Function.cpp
>
>
> Author: lattner
> Date: Wed Jan  2 16:03:27 2008
> New Revision: 45506
>
> URL: http://llvm.org/viewvc/llvm-project?rev=45506&view=rev
> Log:
> Fix a build issue on cygwin
>
> Modified:
>    llvm/trunk/lib/VMCore/Function.cpp
>
> Modified: llvm/trunk/lib/VMCore/Function.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Function.cpp?rev=45506&r1=45505&r2=45506&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/VMCore/Function.cpp (original)
> +++ llvm/trunk/lib/VMCore/Function.cpp Wed Jan  2 16:03:27 2008
> @@ -160,12 +160,9 @@
>   return true;
> }
>
> -void
> -ParamAttrsList::Profile(FoldingSetNodeID &ID) const {
> -  for (unsigned i = 0; i < attrs.size(); ++i) {
> -    uint32_t val = uint32_t(attrs[i].attrs) << 16 | attrs[i].index;
> -    ID.AddInteger(val);
> -  }
> +void ParamAttrsList::Profile(FoldingSetNodeID &ID) const {
> +  for (unsigned i = 0; i < attrs.size(); ++i)
> +    ID.AddInteger(unsigned(attrs[i].attrs) << 16 |  
> unsigned(attrs[i].index));
> }
>
> static ManagedStatic<FoldingSet<ParamAttrsList> > ParamAttrsLists;
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080103/b686425f/attachment.html>


More information about the llvm-commits mailing list