diff options
| -rw-r--r-- | clang/lib/CodeGen/CGExpr.cpp | 7 |
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) { |

