mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
In InsertValueInst's copy ctor, actually copy the operands.
llvm-svn: 52434
This commit is contained in:
parent
c1ac0c1c41
commit
d9d529d7ed
@ -1385,6 +1385,8 @@ InsertValueInst::InsertValueInst(const InsertValueInst &IVI)
|
||||
: Instruction(IVI.getType(), InsertValue,
|
||||
OperandTraits<InsertValueInst>::op_begin(this), 2),
|
||||
Indices(IVI.Indices) {
|
||||
Op<0>() = IVI.getOperand(0);
|
||||
Op<1>() = IVI.getOperand(1);
|
||||
}
|
||||
|
||||
InsertValueInst::InsertValueInst(Value *Agg,
|
||||
|
Loading…
Reference in New Issue
Block a user