Unbreak the clang build after r169712.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169713 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp
index cdbd029..b35c798 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -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);
}