diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index ce898cd..100dacb 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -473,7 +473,7 @@ public: BlockSkipInstsMap &BBSkipInstsMap); /// Return DebugLoc of this UserValue. - DebugLoc getDebugLoc() { return dl;} + const DebugLoc &getDebugLoc() { return dl; } void print(raw_ostream &, const TargetRegisterInfo *); }; @@ -506,7 +506,7 @@ public: BlockSkipInstsMap &BBSkipInstsMap); /// Return DebugLoc of this UserLabel. - DebugLoc getDebugLoc() { return dl; } + const DebugLoc &getDebugLoc() { return dl; } void print(raw_ostream &, const TargetRegisterInfo *); }; |