mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Patch to clean up function call pseudos and support the BLA instruction,
which branches to an absolute address. This is required to support objc direct dispatch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -152,6 +152,10 @@ namespace {
|
||||
TM.getInstrInfo()->isCall(MI->getOpcode()));
|
||||
}
|
||||
}
|
||||
void printAbsAddrOperand(const MachineInstr *MI, unsigned OpNo,
|
||||
MVT::ValueType VT) {
|
||||
O << (int)MI->getOperand(OpNo).getImmedValue()*4;
|
||||
}
|
||||
void printPICLabel(const MachineInstr *MI, unsigned OpNo,
|
||||
MVT::ValueType VT) {
|
||||
// FIXME: should probably be converted to cout.width and cout.fill
|
||||
|
Reference in New Issue
Block a user