diff options
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/decoder.hh | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/arch/mips/decoder.hh b/src/arch/mips/decoder.hh index 4857eb353..080614dee 100644 --- a/src/arch/mips/decoder.hh +++ b/src/arch/mips/decoder.hh @@ -37,34 +37,20 @@ #include "base/types.hh" #include "cpu/static_inst.hh" -class ThreadContext; - namespace MipsISA { class Decoder { protected: - ThreadContext * tc; //The extended machine instruction being generated ExtMachInst emi; bool instDone; public: - Decoder(ThreadContext * _tc) : tc(_tc), instDone(false) + Decoder() : instDone(false) {} - ThreadContext *getTC() - { - return tc; - } - - void - setTC(ThreadContext *_tc) - { - tc = _tc; - } - void process() { |