]> granicus.if.org Git - clang/commitdiff
Unbreak the clang build after r169712.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Dec 2012 21:58:24 +0000 (21:58 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Dec 2012 21:58:24 +0000 (21:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169713 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenFunction.cpp

index cdbd0295c0552e7b96de88e77ae5188eb220fe7c..b35c7983b21599271fb0096b1d6cbe2d7f37a582 100644 (file)
@@ -50,10 +50,10 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext)
 
   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);
 }