aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-07-18 23:38:40 +0000
committerBill Wendling <isanbard@gmail.com>2011-07-18 23:38:40 +0000
commit353404d924602c1af78315114e67328036d26f94 (patch)
treecc42e7176ed5414f6af994b1977a62bfff2f4e7e /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent83c6c4f30e5390913b37ebb22875492fc7200932 (diff)
downloadllvm-353404d924602c1af78315114e67328036d26f94.zip
llvm-353404d924602c1af78315114e67328036d26f94.tar.gz
llvm-353404d924602c1af78315114e67328036d26f94.tar.bz2
Move the compact encoding from the target-specific library to the code-gen
library. llvm-svn: 135443
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index 2b1c385..652d207 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -257,9 +257,9 @@ MachineModuleInfo::MachineModuleInfo(const MCAsmInfo &MAI,
const MCRegisterInfo &MRI,
const TargetAsmInfo *TAI)
: ImmutablePass(ID), Context(MAI, MRI, TAI),
- ObjFileMMI(0),
- CurCallSite(0), CallsEHReturn(0), CallsUnwindInit(0), DbgInfoAvailable(false),
- CallsExternalVAFunctionWithFloatingPointArguments(false) {
+ ObjFileMMI(0), CompactEncoding(0), CurCallSite(0), CallsEHReturn(0),
+ CallsUnwindInit(0), DbgInfoAvailable(false),
+ CallsExternalVAFunctionWithFloatingPointArguments(false) {
initializeMachineModuleInfoPass(*PassRegistry::getPassRegistry());
// Always emit some info, by default "no personality" info.
Personalities.push_back(NULL);
@@ -312,6 +312,7 @@ void MachineModuleInfo::EndFunction() {
FilterEnds.clear();
CallsEHReturn = 0;
CallsUnwindInit = 0;
+ CompactEncoding = 0;
VariableDbgInfo.clear();
}