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