forked from OSchip/llvm-project
parent
778509c844
commit
dcc1f995eb
|
@ -130,8 +130,6 @@ MachineInstr::SetMachineOperandConst(unsigned i,
|
|||
MachineOperand::MachineOperandType opTy,
|
||||
int intValue) {
|
||||
assert(i < getNumOperands()); // must be explicit op
|
||||
assert(TargetInstrDescriptors[Opcode].resultPos != (int) i &&
|
||||
"immed. constant cannot be defined");
|
||||
|
||||
operands[i].opType = opTy;
|
||||
operands[i].contents.value = NULL;
|
||||
|
|
Loading…
Reference in New Issue