summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBuiltin.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-27 21:00:51 +0000
committerOwen Anderson <resistor@mac.com>2009-07-27 21:00:51 +0000
commite05f2ed478d66d65578999d6d9debef1f2277e03 (patch)
treed306583525bd127cf0e61cdd04e719afc4224af9 /clang/lib/CodeGen/CGBuiltin.cpp
parent69c464dec4795af43b4a432bae2b329ee5f1bef5 (diff)
downloadbcm5719-llvm-e05f2ed478d66d65578999d6d9debef1f2277e03.tar.gz
bcm5719-llvm-e05f2ed478d66d65578999d6d9debef1f2277e03.zip
Update for LLVM API change.
llvm-svn: 77249
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index ffd19e371d9..86650a1e7e6 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -66,7 +66,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,
return RValue::get(llvm::ConstantInt::get(VMContext,
Result.Val.getInt()));
else if (Result.Val.isFloat())
- return RValue::get(VMContext.getConstantFP(Result.Val.getFloat()));
+ return RValue::get(ConstantFP::get(VMContext, Result.Val.getFloat()));
}
switch (BuiltinID) {
OpenPOWER on IntegriCloud