diff options
author | Matthias Braun <matze@braunis.de> | 2016-11-30 23:48:50 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-11-30 23:48:50 +0000 |
commit | ef331eff5aa56a70d5bef2e5cf3202a326d697e9 (patch) | |
tree | 05e8c2463af88ed178689df11b5228f9f07ef577 /llvm/lib/CodeGen/MIRParser | |
parent | f23ef437ccf39dd8209960b942b3751547b07af5 (diff) | |
download | bcm5719-llvm-ef331eff5aa56a70d5bef2e5cf3202a326d697e9.tar.gz bcm5719-llvm-ef331eff5aa56a70d5bef2e5cf3202a326d697e9.zip |
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
llvm-svn: 288292
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIRParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp index f6a403b35a0..3dff1147631 100644 --- a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp @@ -674,7 +674,7 @@ bool MIRParserImpl::parseStackObjectsDebugInfo(PerFunctionMIParsingState &PFS, typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *this) || typecheckMDNode(DILoc, Loc, Object.DebugLoc, "DILocation", *this)) return true; - PFS.MF.getMMI().setVariableDbgInfo(DIVar, DIExpr, unsigned(FrameIdx), DILoc); + PFS.MF.setVariableDbgInfo(DIVar, DIExpr, unsigned(FrameIdx), DILoc); return false; } |