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

Benjamin Kramer benny.kra at googlemail.com
Sun Dec 9 13:58:24 PST 2012


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);
 }





More information about the cfe-commits mailing list