mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
variable_ops instructions such as call can have any number of operands.
llvm-svn: 28906
This commit is contained in:
parent
ecf6ddfe47
commit
420ea2c264
@ -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