projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2f64f9f
)
Minor cleanup
author
Chris Lattner
<sabre@nondot.org>
Sun, 14 Oct 2001 23:29:30 +0000
(23:29 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 14 Oct 2001 23:29:30 +0000
(23:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@812
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/InlineSimple.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/InlineSimple.cpp
b/lib/Transforms/IPO/InlineSimple.cpp
index 609c3f14d985bf31d3f9e452ceca4c0b51d3de89..c135f6566b23ff5e4c3495908628ee60351f7cf3 100644
(file)
--- a/
lib/Transforms/IPO/InlineSimple.cpp
+++ b/
lib/Transforms/IPO/InlineSimple.cpp
@@
-133,7
+133,7
@@
bool opt::InlineMethod(BasicBlock::iterator CIIt) {
// Create a new basic block to copy instructions into!
BasicBlock *IBB = new BasicBlock("", NewBB->getParent());
- ValueMap[
*BI
] = IBB; // Add basic block mapping.
+ ValueMap[
BB
] = IBB; // Add basic block mapping.
// Make sure to capture the mapping that a return will use...
// TODO: This assumes that the RET is returning a value computed in the same