mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 20:26:07 +00:00
Remove a bunch more dead V9 specific stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -432,12 +432,7 @@ void Emitter::emitInstruction(const MachineInstr &MI) {
|
||||
MCE.emitByte(BaseOpcode + getX86RegNum(MI.getOperand(0).getReg()));
|
||||
if (MI.getNumOperands() == 2) {
|
||||
const MachineOperand &MO1 = MI.getOperand(1);
|
||||
if (Value *V = MO1.getVRegValueOrNull()) {
|
||||
assert(0 && "??");
|
||||
assert(sizeOfImm(Desc) == 4 &&
|
||||
"Don't know how to emit non-pointer values!");
|
||||
emitGlobalAddressForPtr(cast<GlobalValue>(V));
|
||||
} else if (MO1.isGlobalAddress()) {
|
||||
if (MO1.isGlobalAddress()) {
|
||||
assert(sizeOfImm(Desc) == 4 &&
|
||||
"Don't know how to emit non-pointer values!");
|
||||
emitGlobalAddressForPtr(MO1.getGlobal(), MO1.getOffset());
|
||||
|
Reference in New Issue
Block a user