mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
add hooks to hang target-specific goop off MachineModuleInfo,
move MachineFunctionInfo virtual method out of line to give it a home. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81940 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,23 +32,23 @@ static RegisterPass<MachineModuleInfo>
|
||||
X("machinemoduleinfo", "Module Information");
|
||||
char MachineModuleInfo::ID = 0;
|
||||
|
||||
// Out of line virtual method.
|
||||
MachineModuleInfoImpl::~MachineModuleInfoImpl() {}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
MachineModuleInfo::MachineModuleInfo()
|
||||
: ImmutablePass(&ID)
|
||||
, LabelIDList()
|
||||
, FrameMoves()
|
||||
, LandingPads()
|
||||
, Personalities()
|
||||
, TargetMMI(0)
|
||||
, CallsEHReturn(0)
|
||||
, CallsUnwindInit(0)
|
||||
, DbgInfoAvailable(false)
|
||||
{
|
||||
, DbgInfoAvailable(false) {
|
||||
// Always emit some info, by default "no personality" info.
|
||||
Personalities.push_back(NULL);
|
||||
}
|
||||
MachineModuleInfo::~MachineModuleInfo() {
|
||||
|
||||
MachineModuleInfo::~MachineModuleInfo() {
|
||||
delete TargetMMI;
|
||||
}
|
||||
|
||||
/// doInitialization - Initialize the state for a new module.
|
||||
|
Reference in New Issue
Block a user