diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-08-21 03:01:12 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-21 03:01:12 +0000 |
| commit | b1d94a98dda5bccecd54b2a5254f64e450dd7189 (patch) | |
| tree | 57e1bcdb5802378ab19646f0346e714cf98e993e /clang/lib/CodeGen/CGExprConstant.cpp | |
| parent | 93b00a98a324b7b6debe03f71b741d094fe05d64 (diff) | |
| download | bcm5719-llvm-b1d94a98dda5bccecd54b2a5254f64e450dd7189.tar.gz bcm5719-llvm-b1d94a98dda5bccecd54b2a5254f64e450dd7189.zip | |
IRgen: Eliminate EmitPredefinedFunctionName(), it doesn't need to be factored out.
llvm-svn: 111715
Diffstat (limited to 'clang/lib/CodeGen/CGExprConstant.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp index 61d4ac26cf3..946a694b76f 100644 --- a/clang/lib/CodeGen/CGExprConstant.cpp +++ b/clang/lib/CodeGen/CGExprConstant.cpp @@ -822,7 +822,7 @@ public: case Expr::PredefinedExprClass: { unsigned Type = cast<PredefinedExpr>(E)->getIdentType(); if (CGF) { - LValue Res = CGF->EmitPredefinedFunctionName(Type); + LValue Res = CGF->EmitPredefinedLValue(cast<PredefinedExpr>(E)); return cast<llvm::Constant>(Res.getAddress()); } else if (Type == PredefinedExpr::PrettyFunction) { return CGM.GetAddrOfConstantCString("top level", ".tmp"); |

