diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-10-01 18:10:54 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-10-01 18:10:54 +0000 |
commit | 10c4265675595f84ce1ea4d53da342bc7b1add1a (patch) | |
tree | b51120bb22035fcfdb58d4b24a32b748442ccff7 /include/llvm/CodeGen/MachineModuleInfo.h | |
parent | 076fd5dfc1f0600183bbc7db974dc7b39086136d (diff) |
Revert r218778 while investigating buldbot breakage.
"Move the complex address expression out of DIVariable and into an extra"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 52e0121ccef..34a48426c59 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -166,7 +166,6 @@ public: struct VariableDbgInfo { TrackingVH<MDNode> Var; - TrackingVH<MDNode> Expr; unsigned Slot; DebugLoc Loc; }; @@ -391,9 +390,8 @@ public: /// setVariableDbgInfo - Collect information used to emit debugging /// information of a variable. - void setVariableDbgInfo(MDNode *Var, MDNode *Expr, unsigned Slot, - DebugLoc Loc) { - VariableDbgInfo Info = {Var, Expr, Slot, Loc}; + void setVariableDbgInfo(MDNode *N, unsigned Slot, DebugLoc Loc) { + VariableDbgInfo Info = { N, Slot, Loc }; VariableDbgInfos.push_back(std::move(Info)); } |