From 7464efcac898f6221aabf6d5c42974ea90387dd6 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 9 Dec 2012 21:58:24 +0000 Subject: Unbreak the clang build after r169712. llvm-svn: 169713 --- clang/lib/CodeGen/CodeGenFunction.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') 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); } -- cgit v1.2.3