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 | 42c7786227bfb76734143a87ac03a78dda5235eb (patch) | |
tree | 046e1682a3654192cae651e22924c1eac08f74ec /lib/Target/X86/InstSelectSimple.cpp | |
parent | fa78fbf446b505767e838f9c188707183c57fc9c (diff) |
Make sure to pass the LLVM basic block in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r-- | lib/Target/X86/InstSelectSimple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 358ea2ed11..b13946e08f 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/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); } |