diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-16 21:24:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-16 21:24:15 +0000 |
commit | 67d7b9204ca71aa387665d772a7d3e4db6f4f7f3 (patch) | |
tree | 2e3fe1790f648a166e3905cd6734f648963273e0 /clang/lib/CodeGen/CGBuiltin.cpp | |
parent | 537969c23720bb075a053e78b66e38283ff2bf5a (diff) | |
download | bcm5719-llvm-67d7b9204ca71aa387665d772a7d3e4db6f4f7f3.tar.gz bcm5719-llvm-67d7b9204ca71aa387665d772a7d3e4db6f4f7f3.zip |
rename Expr::tryEvaluate to Expr::Evaluate.
llvm-svn: 59426
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGBuiltin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index 98e70e892d3..a8eb8f794b7 100644 --- a/clang/lib/CodeGen/CGBuiltin.cpp +++ b/clang/lib/CodeGen/CGBuiltin.cpp @@ -39,7 +39,7 @@ static RValue EmitBinaryAtomic(CodeGenFunction& CFG, RValue CodeGenFunction::EmitBuiltinExpr(unsigned BuiltinID, const CallExpr *E) { // See if we can constant fold this builtin. If so, don't emit it at all. APValue Result; - if (E->tryEvaluate(Result, CGM.getContext())) { + if (E->Evaluate(Result, CGM.getContext())) { if (Result.isInt()) return RValue::get(llvm::ConstantInt::get(Result.getInt())); assert(Result.isFloat() && "Unsupported constant type"); |