summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
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
parent65f1435a6f1f0beddc62bb3695344637fd78db92 (diff)
downloadbcm5719-llvm-7464efcac898f6221aabf6d5c42974ea90387dd6.tar.gz
bcm5719-llvm-7464efcac898f6221aabf6d5c42974ea90387dd6.zip
Unbreak the clang build after r169712.
llvm-svn: 169713
Diffstat (limited to 'clang/lib/CodeGen')
-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 cdbd0295c05..b35c7983b21 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);
}
OpenPOWER on IntegriCloud