mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Add section switching to common code generator code. Add a couple of
asserts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -278,10 +278,11 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &MF) {
|
||||
MachineOperand &MO = MI->getOperand(i);
|
||||
if (!MO.getVRegValueOrNull()) {
|
||||
VarInfo &VRInfo = getVarInfo(MO.getReg());
|
||||
assert(VRInfo.DefInst && "Register use before def (or no def)!");
|
||||
|
||||
// Only mark it alive only in the block we are representing...
|
||||
// Only mark it alive only in the block we are representing.
|
||||
MarkVirtRegAliveInBlock(VRInfo, MBB);
|
||||
break; // Found the PHI entry for this block...
|
||||
break; // Found the PHI entry for this block.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user