projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338398a
)
Clear debug loc while updating insert point.
author
Devang Patel
<dpatel@apple.com>
Tue, 5 Jul 2011 18:58:22 +0000
(18:58 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 5 Jul 2011 18:58:22 +0000
(18:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134431
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/IRBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/IRBuilder.h
b/include/llvm/Support/IRBuilder.h
index 94592800fe4a2cad5f3fc77d9d27595338d96020..3b06fd3e3b3e80f28f643e92bb97ed0ccb9dfb37 100644
(file)
--- 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