This field no longer exists
[oota-llvm.git] / lib / CodeGen / MachineInstr.cpp
index db4cbd3c4783231f02871c3b0381d785b75a32f9..973e3ec1e6ee0621e0235484078d9a2a341dae19 100644 (file)
@@ -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;