forked from OSchip/llvm-project
[TableGen,X86] Remove extra optional operand from RawFrm. RawFrm with 2 immediates is handled by RawFrmImm8/RawFrmImm16.
llvm-svn: 261187
This commit is contained in:
parent
e1818af8c5
commit
8a01c41059
|
@ -583,11 +583,9 @@ void RecognizableInstr::emitInstructionSpecifier() {
|
|||
return;
|
||||
case X86Local::RawFrm:
|
||||
// Operand 1 (optional) is an address or immediate.
|
||||
// Operand 2 (optional) is an immediate.
|
||||
assert(numPhysicalOperands <= 2 &&
|
||||
assert(numPhysicalOperands <= 1 &&
|
||||
"Unexpected number of operands for RawFrm");
|
||||
HANDLE_OPTIONAL(relocation)
|
||||
HANDLE_OPTIONAL(immediate)
|
||||
break;
|
||||
case X86Local::RawFrmMemOffs:
|
||||
// Operand 1 is an address.
|
||||
|
|
Loading…
Reference in New Issue