aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-10 01:10:18 +0000
committerChris Lattner <sabre@nondot.org>2011-07-10 01:10:18 +0000
commitbe5f332c4d9eb302cd020047c382aa133ad59501 (patch)
treec52533b463aecd5c6b9f72aec4fb28718f7d1528 /lib/CodeGen/CodeGenTypes.cpp
parentf742eb0196e1b25c0b71e91da4a2b856d16a1dab (diff)
how about we initialize RecursionState.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
-rw-r--r--lib/CodeGen/CodeGenTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp
index ed44aec492..f304df917b 100644
--- a/lib/CodeGen/CodeGenTypes.cpp
+++ b/lib/CodeGen/CodeGenTypes.cpp
@@ -31,6 +31,7 @@ CodeGenTypes::CodeGenTypes(ASTContext &Ctx, llvm::Module& M,
CGCXXABI &CXXABI, const CodeGenOptions &CGO)
: Context(Ctx), Target(Ctx.Target), TheModule(M), TheTargetData(TD),
TheABIInfo(Info), TheCXXABI(CXXABI), CodeGenOpts(CGO) {
+ RecursionState = RS_Normal;
}
CodeGenTypes::~CodeGenTypes() {