mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-28 22:00:30 +00:00
Fix uninitialized variable warnings. NFCI.
This commit is contained in:
parent
7165ac3d03
commit
e0b1d25108
@ -54,8 +54,8 @@ using namespace llvm;
|
||||
|
||||
ARMAsmPrinter::ARMAsmPrinter(TargetMachine &TM,
|
||||
std::unique_ptr<MCStreamer> Streamer)
|
||||
: AsmPrinter(TM, std::move(Streamer)), AFI(nullptr), MCP(nullptr),
|
||||
InConstantPool(false), OptimizationGoals(-1) {}
|
||||
: AsmPrinter(TM, std::move(Streamer)), Subtarget(nullptr), AFI(nullptr),
|
||||
MCP(nullptr), InConstantPool(false), OptimizationGoals(-1) {}
|
||||
|
||||
void ARMAsmPrinter::EmitFunctionBodyEnd() {
|
||||
// Make sure to terminate any constant pools that were at the end
|
||||
|
@ -27,14 +27,13 @@ class MachineInstr;
|
||||
/// ARM preRA scheduler uses an unspecialized instance of the
|
||||
/// ScoreboardHazardRecognizer.
|
||||
class ARMHazardRecognizer : public ScoreboardHazardRecognizer {
|
||||
MachineInstr *LastMI;
|
||||
unsigned FpMLxStalls;
|
||||
MachineInstr *LastMI = nullptr;
|
||||
unsigned FpMLxStalls = 0;
|
||||
|
||||
public:
|
||||
ARMHazardRecognizer(const InstrItineraryData *ItinData,
|
||||
const ScheduleDAG *DAG)
|
||||
: ScoreboardHazardRecognizer(ItinData, DAG, "post-RA-sched"),
|
||||
LastMI(nullptr) {}
|
||||
: ScoreboardHazardRecognizer(ItinData, DAG, "post-RA-sched") {}
|
||||
|
||||
HazardType getHazardType(SUnit *SU, int Stalls) override;
|
||||
void Reset() override;
|
||||
|
Loading…
Reference in New Issue
Block a user