mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
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
This commit is contained in:
parent
fa78fbf446
commit
42c7786227
@ -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);
|
||||
}
|
||||
|
@ -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…
x
Reference in New Issue
Block a user