From 29573b0a825b888c233d7859a257e866ffc5276e 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169713 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/CodeGen/CodeGenFunction.cpp') diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index cdbd0295c0..b35c7983b2 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/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