Skip to content

Commit 095d2a4

Browse files
committed
FastISel - fix uninitialized variable warnings in constructor. NFCI.
1 parent 72670a7 commit 095d2a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/FastISel.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,8 @@ FastISel::FastISel(FunctionLoweringInfo &FuncInfo,
19271927
TII(*MF->getSubtarget().getInstrInfo()),
19281928
TLI(*MF->getSubtarget().getTargetLowering()),
19291929
TRI(*MF->getSubtarget().getRegisterInfo()), LibInfo(LibInfo),
1930-
SkipTargetIndependentISel(SkipTargetIndependentISel) {}
1930+
SkipTargetIndependentISel(SkipTargetIndependentISel),
1931+
LastLocalValue(nullptr), EmitStartPt(nullptr) {}
19311932

19321933
FastISel::~FastISel() = default;
19331934

0 commit comments

Comments
 (0)