Move FrameInstructions from MachineModuleInfo to MachineFunction
This is per function data so it is better kept at the function instead of the module. This is a necessary step to have machine module passes work properly. Differential Revision: https://reviews.llvm.org/D27185 llvm-svn: 288291
This commit is contained in:
@@ -230,9 +230,6 @@ bool MachineModuleInfo::doFinalization(Module &M) {
|
||||
}
|
||||
|
||||
void MachineModuleInfo::EndFunction() {
|
||||
// Clean up frame info.
|
||||
FrameInstructions.clear();
|
||||
|
||||
// Clean up exception info.
|
||||
LandingPads.clear();
|
||||
PersonalityTypeCache = EHPersonality::Unknown;
|
||||
|
||||
Reference in New Issue
Block a user