bpf: fix an uninitialized variable issue
Signed-off-by: Yonghong Song <yhs@fb.com> llvm-svn: 316519
This commit is contained in:
parent
e63e9d72b8
commit
9af998e86e
|
@ -40,7 +40,9 @@ namespace {
|
|||
|
||||
class BPFDAGToDAGISel : public SelectionDAGISel {
|
||||
public:
|
||||
explicit BPFDAGToDAGISel(BPFTargetMachine &TM) : SelectionDAGISel(TM) {}
|
||||
explicit BPFDAGToDAGISel(BPFTargetMachine &TM) : SelectionDAGISel(TM) {
|
||||
curr_func_ = nullptr;
|
||||
}
|
||||
|
||||
StringRef getPassName() const override {
|
||||
return "BPF DAG->DAG Pattern Instruction Selection";
|
||||
|
|
Loading…
Reference in New Issue