File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ static cl::opt<bool> DisableDelaySlotFiller(
37
37
38
38
namespace {
39
39
struct Filler : public MachineFunctionPass {
40
- const SparcSubtarget *Subtarget;
40
+ const SparcSubtarget *Subtarget = nullptr ;
41
41
42
42
static char ID;
43
43
Filler () : MachineFunctionPass(ID) {}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ namespace llvm {
23
23
class LLVM_LIBRARY_VISIBILITY LEONMachineFunctionPass
24
24
: public MachineFunctionPass {
25
25
protected:
26
- const SparcSubtarget *Subtarget;
26
+ const SparcSubtarget *Subtarget = nullptr ;
27
27
const int LAST_OPERAND = -1 ;
28
28
29
29
// this vector holds free registers that we allocate in groups for some of the
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace {
31
31
class SparcDAGToDAGISel : public SelectionDAGISel {
32
32
// / Subtarget - Keep a pointer to the Sparc Subtarget around so that we can
33
33
// / make the right decision when generating code for different targets.
34
- const SparcSubtarget *Subtarget;
34
+ const SparcSubtarget *Subtarget = nullptr ;
35
35
public:
36
36
explicit SparcDAGToDAGISel (SparcTargetMachine &tm) : SelectionDAGISel(tm) {}
37
37
You can’t perform that action at this time.
0 commit comments