1
0
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:
Evan Cheng 2006-06-21 23:37:07 +00:00
parent ecf6ddfe47
commit 420ea2c264

View File

@ -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());