File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ namespace {
79
79
class PPCAsmPrinter : public AsmPrinter {
80
80
protected:
81
81
MapVector<const MCSymbol *, MCSymbol *> TOC;
82
- const PPCSubtarget *Subtarget;
82
+ const PPCSubtarget *Subtarget = nullptr ;
83
83
StackMaps SM;
84
84
85
85
public:
Original file line number Diff line number Diff line change @@ -138,9 +138,9 @@ namespace {
138
138
// /
139
139
class PPCDAGToDAGISel : public SelectionDAGISel {
140
140
const PPCTargetMachine &TM;
141
- const PPCSubtarget *PPCSubTarget;
142
- const PPCTargetLowering *PPCLowering;
143
- unsigned GlobalBaseReg;
141
+ const PPCSubtarget *PPCSubTarget = nullptr ;
142
+ const PPCTargetLowering *PPCLowering = nullptr ;
143
+ unsigned GlobalBaseReg = 0 ;
144
144
145
145
public:
146
146
explicit PPCDAGToDAGISel (PPCTargetMachine &tm, CodeGenOpt::Level OptLevel)
@@ -2385,15 +2385,15 @@ class BitPermutationSelector {
2385
2385
2386
2386
SmallVector<ValueBit, 64 > Bits;
2387
2387
2388
- bool NeedMask;
2388
+ bool NeedMask = false ;
2389
2389
SmallVector<unsigned , 64 > RLAmt;
2390
2390
2391
2391
SmallVector<BitGroup, 16 > BitGroups;
2392
2392
2393
2393
DenseMap<std::pair<SDValue, unsigned >, ValueRotInfo> ValueRots;
2394
2394
SmallVector<ValueRotInfo, 16 > ValueRotsVec;
2395
2395
2396
- SelectionDAG *CurDAG;
2396
+ SelectionDAG *CurDAG = nullptr ;
2397
2397
2398
2398
public:
2399
2399
BitPermutationSelector (SelectionDAG *DAG)
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class PPCFunctionInfo : public MachineFunctionInfo {
42
42
// / MustSaveLR - Indicates whether LR is defined (or clobbered) in the current
43
43
// / function. This is only valid after the initial scan of the function by
44
44
// / PEI.
45
- bool MustSaveLR;
45
+ bool MustSaveLR = false ;
46
46
47
47
// / MustSaveTOC - Indicates that the TOC save needs to be performed in the
48
48
// / prologue of the function. This is typically the case when there are
You can’t perform that action at this time.
0 commit comments