aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-14 23:29:30 +0000
committerChris Lattner <sabre@nondot.org>2001-10-14 23:29:30 +0000
commit5fdc4c91ae9defb3d511fba103514b8dcc0955e1 (patch)
treeaa177fbf3dfd307e10116686e5746895749f1b81 /lib
parent2f64f9f264d30dd0ac4880eb16ba9eeac538e94c (diff)
Minor cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/IPO/InlineSimple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp
index 609c3f14d9..c135f6566b 100644
--- 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