aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-02-17 19:02:56 +0000
committerJohn McCall <rjmccall@apple.com>2011-02-17 19:02:56 +0000
commitcf0b2d83666804b377dbe05370a5c9b9bafaaa5a (patch)
tree386537d1a089290c9f10ac4a94dc9e430acf66aa /lib/CodeGen/CGExprComplex.cpp
parentd9015eee474115c8ecf616a02f3ed30be2b91203 (diff)
Remove the "conditional save" hashtables from IR generation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
-rw-r--r--lib/CodeGen/CGExprComplex.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp
index 8b4ead8b11..7b0292b8f2 100644
--- a/lib/CodeGen/CGExprComplex.cpp
+++ b/lib/CodeGen/CGExprComplex.cpp
@@ -98,12 +98,7 @@ public:
//===--------------------------------------------------------------------===//
ComplexPairTy Visit(Expr *E) {
- llvm::DenseMap<const Expr *, ComplexPairTy>::iterator I =
- CGF.ConditionalSaveComplexExprs.find(E);
- if (I != CGF.ConditionalSaveComplexExprs.end())
- return I->second;
-
- return StmtVisitor<ComplexExprEmitter, ComplexPairTy>::Visit(E);
+ return StmtVisitor<ComplexExprEmitter, ComplexPairTy>::Visit(E);
}
ComplexPairTy VisitStmt(Stmt *S) {