summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-06 00:51:52 +0000
committerChris Lattner <sabre@nondot.org>2010-04-06 00:51:52 +0000
commit421ccd9892178e741e24c96cef4304262475255d (patch)
tree872241d8a22ac946efe718df378515c1964f4ac0 /lib/CodeGen/MachineModuleInfo.cpp
parent42a4ee0a35b4672311c1b988bd883167de9f88cd (diff)
downloadllvm-421ccd9892178e741e24c96cef4304262475255d.tar.gz
llvm-421ccd9892178e741e24c96cef4304262475255d.tar.bz2
llvm-421ccd9892178e741e24c96cef4304262475255d.tar.xz
Give MachineModuleInfo an actual Module*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp
index ad4f01b7a9..f813a55367 100644
--- a/lib/CodeGen/MachineModuleInfo.cpp
+++ b/lib/CodeGen/MachineModuleInfo.cpp
@@ -262,6 +262,7 @@ MachineModuleInfo::MachineModuleInfo(const MCAsmInfo &MAI)
// Always emit some info, by default "no personality" info.
Personalities.push_back(NULL);
AddrLabelSymbols = 0;
+ TheModule = 0;
}
MachineModuleInfo::MachineModuleInfo()