diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-30 20:01:41 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-30 20:01:41 +0000 |
commit | 70584084e5d9303c8253afc77866fa041a10697a (patch) | |
tree | e8bee19527a98ed5076ede1882512853b2b24b8f /lib/CodeGen/CGCall.cpp | |
parent | 835226d519b8c56eff895390d3210e1f1b2107d7 (diff) |
DebugInfo: Use new LLVM API for DebugLoc
Use the new API for `DebugLoc` added in r233573 before the old one
disappears.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index d39776191f..b3adfe4845 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -2380,7 +2380,7 @@ void CodeGenFunction::EmitFunctionEpilog(const CGFunctionInfo &FI, Ret = Builder.CreateRetVoid(); } - if (!RetDbgLoc.isUnknown()) + if (RetDbgLoc) Ret->setDebugLoc(std::move(RetDbgLoc)); } |