diff options
author | Eric Christopher <echristo@gmail.com> | 2013-11-15 01:43:19 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-11-15 01:43:19 +0000 |
commit | 7b641815290f34f0212e4cb7b26ed1708270cb97 (patch) | |
tree | 0bb2a7551512b6476cdb8558a35894af62084b97 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 59d3ae6cdc4316ad338cd848251f33a236ccb36c (diff) | |
download | llvm-7b641815290f34f0212e4cb7b26ed1708270cb97.tar.gz llvm-7b641815290f34f0212e4cb7b26ed1708270cb97.tar.bz2 llvm-7b641815290f34f0212e4cb7b26ed1708270cb97.tar.xz |
Use a reference rather than a pointer as we don't expect a NULL
DbgVariable.
No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index ffb87dd26d..1fd40fb4dc 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -317,7 +317,7 @@ public: void constructContainingTypeDIEs(); /// constructVariableDIE - Construct a DIE for the given DbgVariable. - DIE *constructVariableDIE(DbgVariable *DV, bool isScopeAbstract); + DIE *constructVariableDIE(DbgVariable &DV, bool isScopeAbstract); /// Create a DIE with the given Tag, add the DIE to its parent, and /// call insertDIE if MD is not null. |