mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
In InsertValueInst's copy ctor, actually copy the operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2960ed4b85
commit
80b9626ee3
@ -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…
x
Reference in New Issue
Block a user