diff options
author | Devang Patel <dpatel@apple.com> | 2011-07-05 18:58:22 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-07-05 18:58:22 +0000 |
commit | 15cf76ca758a41185e82f8d7ba963dcbc7ce46e6 (patch) | |
tree | 13e3cabf29a09a90ea349f435577587183bdabac /include/llvm/Support/IRBuilder.h | |
parent | 338398a288cde58e30fa8a12d219f417ad13ee65 (diff) | |
download | external_llvm-15cf76ca758a41185e82f8d7ba963dcbc7ce46e6.zip external_llvm-15cf76ca758a41185e82f8d7ba963dcbc7ce46e6.tar.gz external_llvm-15cf76ca758a41185e82f8d7ba963dcbc7ce46e6.tar.bz2 |
Clear debug loc while updating insert point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/IRBuilder.h')
-rw-r--r-- | include/llvm/Support/IRBuilder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index 9459280..3b06fd3 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -73,6 +73,7 @@ public: void SetInsertPoint(BasicBlock *TheBB) { BB = TheBB; InsertPt = BB->end(); + CurDbgLocation = DebugLoc(); } /// SetInsertPoint - This specifies that created instructions should be |