blob: da64b9d0f0c42a1dd75be52e54246fc58fd22d5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef DUM_H
#define DUM_H
#include "instrDTO.h"
#include "response.h"
#include "stage.h"
/**
* Don't underestimate mocks (the DUM pipe stage).
*/
class DUM : public Stage
{
public:
/**
* Constructor.
* @param The next stage in the pipeline.
* @return A newly allocated DUM object.
*/
DUM(Stage *next);
InstrDTO *advance(Response p) override;
void set_curr_instr(InstrDTO *);
private:
void advance_helper() override;
};
#endif /* DUM_H_INCLUDED */
|