Move VariableDbgInfo from MachineModuleInfo to MachineFunction

VariableDbgInfo is per function data, so it makes sense to have it with
the function instead of the module.

This is a necessary step to have machine module passes work properly.

Differential Revision: https://reviews.llvm.org/D27186

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288292 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matthias Braun
2016-11-30 23:48:50 +00:00
parent 14250381b8
commit 40485c228c
11 changed files with 57 additions and 60 deletions
-1
View File
@@ -240,7 +240,6 @@ void MachineModuleInfo::EndFunction() {
CallsEHReturn = false;
CallsUnwindInit = false;
HasEHFunclets = false;
VariableDbgInfos.clear();
}
//===- Address of Block Management ----------------------------------------===//