[cfe-commits] r169713 - /cfe/trunk/lib/CodeGen/CodeGenFunction.cpp

Michael Ilseman milseman at apple.com
Sun Dec 9 20:57:45 PST 2012


Sorry! This was my bad, thanks!

On Dec 9, 2012, at 1:58 PM, Benjamin Kramer <benny.kra at googlemail.com> wrote:

> Author: d0k
> Date: Sun Dec  9 15:58:24 2012
> New Revision: 169713
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=169713&view=rev
> Log:
> Unbreak the clang build after r169712.
> 
> Modified:
>    cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
> 
> Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.cpp?rev=169713&r1=169712&r2=169713&view=diff
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CodeGenFunction.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CodeGenFunction.cpp Sun Dec  9 15:58:24 2012
> @@ -50,10 +50,10 @@
> 
>   llvm::FastMathFlags FMF;
>   if (CGM.getLangOpts().FastMath)
> -    FMF.UnsafeAlgebra = true;
> +    FMF.setUnsafeAlgebra();
>   if (CGM.getLangOpts().FiniteMathOnly) {
> -    FMF.NoNaNs = true;
> -    FMF.NoInfs = true;
> +    FMF.setNoNaNs();
> +    FMF.setNoInfs();
>   }
>   Builder.SetFastMathFlags(FMF);
> }
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list