diff options
Diffstat (limited to 'src/arch/mips/decoder.hh')
-rw-r--r-- | src/arch/mips/decoder.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/mips/decoder.hh b/src/arch/mips/decoder.hh index a3a68ad07..59e040658 100644 --- a/src/arch/mips/decoder.hh +++ b/src/arch/mips/decoder.hh @@ -40,6 +40,7 @@ namespace MipsISA { +class ISA; class Decoder { protected: @@ -48,7 +49,7 @@ class Decoder bool instDone; public: - Decoder() : instDone(false) + Decoder(ISA* isa = nullptr) : instDone(false) {} void |