summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-17 17:44:48 +0000
committerChris Lattner <sabre@nondot.org>2009-04-17 17:44:48 +0000
commitc4688d21f779dc1df12f6338f3745213c0779b91 (patch)
tree622db3a14525692d34367c603693c4dc5ee5d86b /clang/lib/CodeGen/CGExpr.cpp
parentead1e0002f728f6aa8db0106dcc2979e79f4c2df (diff)
downloadbcm5719-llvm-c4688d21f779dc1df12f6338f3745213c0779b91.tar.gz
bcm5719-llvm-c4688d21f779dc1df12f6338f3745213c0779b91.zip
tidy some code.
llvm-svn: 69360
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index f7f3a5ea72f..f98e6748b21 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -1154,11 +1154,8 @@ LValue CodeGenFunction::EmitLValueForIvar(QualType ObjectTy,
if (CGM.getObjCRuntime().LateBoundIVars())
assert(0 && "late-bound ivars are unsupported");
- LValue LV = CGM.getObjCRuntime().EmitObjCValueForIvar(*this,
- ObjectTy,
- BaseValue, Ivar, Field,
- CVRQualifiers);
- return LV;
+ return CGM.getObjCRuntime().EmitObjCValueForIvar(*this, ObjectTy, BaseValue,
+ Ivar, Field, CVRQualifiers);
}
LValue CodeGenFunction::EmitObjCIvarRefLValue(const ObjCIvarRefExpr *E) {
OpenPOWER on IntegriCloud