summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-30 00:47:40 +0000
committerChris Lattner <sabre@nondot.org>2002-10-30 00:47:40 +0000
commite3ceb17d54cb88bc8c9898dc44b5347dbcc7ce19 (patch)
tree664a39ebf7c1c2139e622651c045459e231581db /llvm
parent528781d9ff612a29a46f109973b7f862775317a7 (diff)
downloadbcm5719-llvm-e3ceb17d54cb88bc8c9898dc44b5347dbcc7ce19.tar.gz
bcm5719-llvm-e3ceb17d54cb88bc8c9898dc44b5347dbcc7ce19.zip
Make sure to pass the LLVM basic block in
llvm-svn: 4433
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/InstSelectSimple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index 358ea2ed11c..b13946e08fe 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/lib/Target/X86/InstSelectSimple.cpp
@@ -45,7 +45,7 @@ namespace {
/// instructions will be invoked for all instructions in the basic block.
///
void visitBasicBlock(BasicBlock &LLVM_BB) {
- BB = new MachineBasicBlock();
+ BB = new MachineBasicBlock(&LLVM_BB);
// FIXME: Use the auto-insert form when it's available
F->getBasicBlockList().push_back(BB);
}
OpenPOWER on IntegriCloud