diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-30 00:47:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-30 00:47:40 +0000 |
commit | e3ceb17d54cb88bc8c9898dc44b5347dbcc7ce19 (patch) | |
tree | 664a39ebf7c1c2139e622651c045459e231581db /llvm | |
parent | 528781d9ff612a29a46f109973b7f862775317a7 (diff) | |
download | bcm5719-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.cpp | 2 |
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); } |