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:
c6fbaa9
)
Fix a bug in IRBuilder::ClearInsertionPoint. The IR Builder needs to reset both the...
author
Nadav Rotem
<nrotem@apple.com>
Mon, 8 Jul 2013 23:27:43 +0000
(23:27 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Mon, 8 Jul 2013 23:27:43 +0000
(23:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185883
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/IR/IRBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/IR/IRBuilder.h
b/include/llvm/IR/IRBuilder.h
index f11d3b4e0b270269b85d6b6c30527d3aa392aeb7..cdf840f54156b26c4296e21898faddcafca5773c 100644
(file)
--- a/
include/llvm/IR/IRBuilder.h
+++ b/
include/llvm/IR/IRBuilder.h
@@
-71,6
+71,7
@@
public:
/// inserted into a block.
void ClearInsertionPoint() {
BB = 0;
+ InsertPt = 0;
}
BasicBlock *GetInsertBlock() const { return BB; }