From a972919f92ab1825a9439829d46c6987a42c8495 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Oct 2001 23:29:30 +0000 Subject: [PATCH] Minor cleanup llvm-svn: 812 --- llvm/lib/Transforms/IPO/InlineSimple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/IPO/InlineSimple.cpp b/llvm/lib/Transforms/IPO/InlineSimple.cpp index 609c3f14d985..c135f6566b23 100644 --- a/llvm/lib/Transforms/IPO/InlineSimple.cpp +++ b/llvm/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