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
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp
index 8b4ead8..7b0292b 100644
--- a/lib/CodeGen/CGExprComplex.cpp
+++ b/lib/CodeGen/CGExprComplex.cpp
@@ -98,12 +98,7 @@
//===--------------------------------------------------------------------===//
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) {