diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-09 21:58:24 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-09 21:58:24 +0000 |
commit | 29573b0a825b888c233d7859a257e866ffc5276e (patch) | |
tree | c56b6e5f670c274a5739fe1aa08337f01d53bbd6 /lib/CodeGen | |
parent | fff3248e69c478cfb4d1a1ffdefb808d5885535b (diff) |
Unbreak the clang build after r169712.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |