aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-12-09 21:58:24 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-12-09 21:58:24 +0000
commit7464efcac898f6221aabf6d5c42974ea90387dd6 (patch)
tree9570164e49679aa880ce5f455d86c4b0ff8d9996 /clang/lib/CodeGen/CodeGenFunction.cpp
parent65f1435a6f1f0beddc62bb3695344637fd78db92 (diff)
downloadllvm-7464efcac898f6221aabf6d5c42974ea90387dd6.zip
llvm-7464efcac898f6221aabf6d5c42974ea90387dd6.tar.gz
llvm-7464efcac898f6221aabf6d5c42974ea90387dd6.tar.bz2
Unbreak the clang build after r169712.
llvm-svn: 169713
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index cdbd029..b35c798 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -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);
}