Skip to content

Commit 0d17f86

Browse files
committed
Individual
1 parent 1139dee commit 0d17f86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/IR/Instructions.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2484,8 +2484,9 @@ void ExtractValueInst::init(ArrayRef<unsigned> Idxs, const Twine &Name) {
24842484
}
24852485

24862486
ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI)
2487-
: UnaryInstruction(EVI.getType(), ExtractValue, EVI.getOperand(0)),
2488-
Indices(EVI.Indices) {
2487+
: UnaryInstruction(EVI.getType(), ExtractValue, EVI.getOperand(0),
2488+
(BasicBlock *)nullptr),
2489+
Indices(EVI.Indices) {
24892490
SubclassOptionalData = EVI.SubclassOptionalData;
24902491
}
24912492

0 commit comments

Comments
 (0)