diff options
Diffstat (limited to 'llvm/tools/llvm-mca/TimelineView.h')
-rw-r--r-- | llvm/tools/llvm-mca/TimelineView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-mca/TimelineView.h b/llvm/tools/llvm-mca/TimelineView.h index c7300f82117..7d337b8bffe 100644 --- a/llvm/tools/llvm-mca/TimelineView.h +++ b/llvm/tools/llvm-mca/TimelineView.h @@ -1,4 +1,4 @@ -//===--------------------- TimelineView.h ---------------*- C++ -*-===// +//===--------------------- TimelineView.h -----------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -150,6 +150,8 @@ class TimelineView : public View { const unsigned DEFAULT_ITERATIONS = 10; + void initialize(unsigned MaxIterations); + public: TimelineView(const llvm::MCSubtargetInfo &sti, llvm::MCInstPrinter &Printer, const SourceMgr &Sequence, unsigned MaxIterations, @@ -159,8 +161,6 @@ public: initialize(MaxIterations); } - void initialize(unsigned MaxIterations); - // Event handlers. void onCycleBegin(unsigned Cycle) override { CurrentCycle = Cycle; } void onInstructionEvent(const HWInstructionEvent &Event) override; |