Unbreak the clang build after r169712.

llvm-svn: 169713
This commit is contained in:
Benjamin Kramer 2012-12-09 21:58:24 +00:00
parent 65f1435a6f
commit 7464efcac8
1 changed files with 3 additions and 3 deletions

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