diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-06-18 10:34:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-06-18 10:34:07 +0000 |
commit | 19bd77c64937d6818c61f2aa9e6a9d51c65d0356 (patch) | |
tree | 67799027250f9ddfbe3ed8a91576ba0e6f575498 /lib/CodeGen/CGExpr.cpp | |
parent | d510fd2dde3cd0fdda9b87772adbfb0d7d26a551 (diff) |
Remove dead variables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r-- | lib/CodeGen/CGExpr.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 0e68c3e2f3..20ccdb7f9c 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -2111,7 +2111,6 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, // Automatic Reference Counting: // If the pseudo-expression names a retainable object with weak or // strong lifetime, the object shall be released. - bool isNonGC = false; Expr *BaseExpr = PseudoDtor->getBase(); llvm::Value *BaseValue = NULL; Qualifiers BaseQuals; @@ -2123,8 +2122,6 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, BaseQuals = PTy->getPointeeType().getQualifiers(); } else { LValue BaseLV = EmitLValue(BaseExpr); - if (BaseLV.isNonGC()) - isNonGC = true; BaseValue = BaseLV.getAddress(); QualType BaseTy = BaseExpr->getType(); BaseQuals = BaseTy.getQualifiers(); |