summaryrefslogtreecommitdiff
path: root/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
commita67dcea0721c02ef543618f0d3b5014ffb3efc8f (patch)
treec65ed747e7f7e6c4a00004e276f40ad1a65261c9 /lib/CodeGen/MachineModuleInfo.cpp
parent565a0366974d82c3efe8a31e0ecc0609c67cad3e (diff)
downloadllvm-a67dcea0721c02ef543618f0d3b5014ffb3efc8f.tar.gz
llvm-a67dcea0721c02ef543618f0d3b5014ffb3efc8f.tar.bz2
llvm-a67dcea0721c02ef543618f0d3b5014ffb3efc8f.tar.xz
Move the compact encoding from the target-specific library to the code-gen
library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp
index 2b1c385c1f..652d2078ce 100644
--- a/lib/CodeGen/MachineModuleInfo.cpp
+++ b/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();
}