forked from OSchip/llvm-project
parent
a33f2b3731
commit
44b1b22a2d
|
@ -107,7 +107,7 @@ void MachineInstr::SetMachineOperandVal(unsigned i,
|
||||||
void
|
void
|
||||||
MachineInstr::SetMachineOperandConst(unsigned i,
|
MachineInstr::SetMachineOperandConst(unsigned i,
|
||||||
MachineOperand::MachineOperandType opTy,
|
MachineOperand::MachineOperandType opTy,
|
||||||
int64_t intValue) {
|
int intValue) {
|
||||||
assert(i < getNumOperands()); // must be explicit op
|
assert(i < getNumOperands()); // must be explicit op
|
||||||
assert(TargetInstrDescriptors[Opcode].resultPos != (int) i &&
|
assert(TargetInstrDescriptors[Opcode].resultPos != (int) i &&
|
||||||
"immed. constant cannot be defined");
|
"immed. constant cannot be defined");
|
||||||
|
|
Loading…
Reference in New Issue