mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
variable_ops instructions such as call can have any number of operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72a8e6f58c
commit
22f71315df
@ -408,7 +408,7 @@ void Emitter::emitInstruction(const MachineInstr &MI) {
|
||||
|
||||
case X86II::RawFrm:
|
||||
MCE.emitByte(BaseOpcode);
|
||||
if (MI.getNumOperands() == 1) {
|
||||
if (Desc.numOperands == 1) {
|
||||
const MachineOperand &MO = MI.getOperand(0);
|
||||
if (MO.isMachineBasicBlock()) {
|
||||
emitPCRelativeBlockAddress(MO.getMachineBasicBlock());
|
||||
|
Loading…
Reference in New Issue
Block a user