summaryrefslogtreecommitdiff
path: root/src/arch/alpha/decoder.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/alpha/decoder.hh')
-rw-r--r--src/arch/alpha/decoder.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/alpha/decoder.hh b/src/arch/alpha/decoder.hh
index d33722867..522359c28 100644
--- a/src/arch/alpha/decoder.hh
+++ b/src/arch/alpha/decoder.hh
@@ -39,6 +39,7 @@
namespace AlphaISA
{
+class ISA;
class Decoder
{
protected:
@@ -47,7 +48,7 @@ class Decoder
bool instDone;
public:
- Decoder() : instDone(false)
+ Decoder(ISA* isa = nullptr) : instDone(false)
{}
void