From f23ef437ccf39dd8209960b942b3751547b07af5 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 30 Nov 2016 23:48:42 +0000 Subject: 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 --- llvm/lib/CodeGen/MachineModuleInfo.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp') diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 131ef44e2ef..c5e6be4709d 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp @@ -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; -- cgit v1.2.3