summaryrefslogtreecommitdiff
path: root/src/cpu/minor/fetch2.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/minor/fetch2.hh')
-rw-r--r--src/cpu/minor/fetch2.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cpu/minor/fetch2.hh b/src/cpu/minor/fetch2.hh
index c66fbd8dc..2230560f1 100644
--- a/src/cpu/minor/fetch2.hh
+++ b/src/cpu/minor/fetch2.hh
@@ -172,6 +172,11 @@ class Fetch2 : public Named
Stats::Scalar loadInstructions;
Stats::Scalar storeInstructions;
+ public:
+ /** Dump the whole contents of the input buffer. Useful after a
+ * prediction changes control flow */
+ void dumpAllInput(ThreadID tid);
+
protected:
/** Get a piece of data to work on from the inputBuffer, or 0 if there
* is no data. */
@@ -180,10 +185,6 @@ class Fetch2 : public Named
/** Pop an element off the input buffer, if there are any */
void popInput(ThreadID tid);
- /** Dump the whole contents of the input buffer. Useful after a
- * prediction changes control flow */
- void dumpAllInput(ThreadID tid);
-
/** Update local branch prediction structures from feedback from
* Execute. */
void updateBranchPrediction(const BranchData &branch);