aboutsummaryrefslogtreecommitdiff
path: root/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
commit26f074b249b7b113c78fad22e80b0e03289aa7d2 (patch)
tree4e8dd81860cd6ccd7b8a9b39caf19deccb62058a /lib/CodeGen/CGExpr.cpp
parent639d9cec79ff59826d250cab68d90afdb82d8760 (diff)
tidy some code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r--lib/CodeGen/CGExpr.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp
index f7f3a5ea72..f98e6748b2 100644
--- a/lib/CodeGen/CGExpr.cpp
+++ b/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) {