diff options
Diffstat (limited to 'src/arch/power')
-rw-r--r-- | src/arch/power/decoder.hh | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/arch/power/decoder.hh b/src/arch/power/decoder.hh index 60fc8ca75..830636aed 100644 --- a/src/arch/power/decoder.hh +++ b/src/arch/power/decoder.hh @@ -35,35 +35,19 @@ #include "arch/types.hh" #include "cpu/static_inst.hh" -class ThreadContext; - namespace PowerISA { class Decoder { protected: - ThreadContext * tc; - // The extended machine instruction being generated ExtMachInst emi; bool instDone; public: - Decoder(ThreadContext * _tc) : tc(_tc), instDone(false) - { - } - - ThreadContext * - getTC() - { - return tc; - } - - void - setTC(ThreadContext * _tc) + Decoder() : instDone(false) { - tc = _tc; } void |