mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Bug fix in setting an implicit ref.
llvm-svn: 4452
This commit is contained in:
parent
913883dd6e
commit
beba0cd579
@ -514,7 +514,7 @@ void MachineInstr::setImplicitRef(unsigned i,
|
||||
bool isDefAndUse)
|
||||
{
|
||||
assert(i < getNumImplicitRefs() && "setImplicitRef() out of range!");
|
||||
SetMachineOperandVal(i + getNumImplicitRefs(),
|
||||
SetMachineOperandVal(i + getNumOperands(),
|
||||
MachineOperand::MO_VirtualRegister,
|
||||
V, isDef, isDefAndUse);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user