mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Make sure to pass the LLVM basic block in
llvm-svn: 4433
This commit is contained in:
parent
55da33fe73
commit
40d5ff97c1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user