summaryrefslogtreecommitdiff
path: root/src/arch/power/insts
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power/insts')
-rw-r--r--src/arch/power/insts/static_inst.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/power/insts/static_inst.hh b/src/arch/power/insts/static_inst.hh
index b7a818a2c..f4f1bec7b 100644
--- a/src/arch/power/insts/static_inst.hh
+++ b/src/arch/power/insts/static_inst.hh
@@ -69,6 +69,12 @@ class PowerStaticInst : public StaticInst
{
pcState.advance();
}
+
+ size_t
+ asBytes(void *buf, size_t max_size) override
+ {
+ return simpleAsBytes(buf, max_size, machInst);
+ }
};
} // namespace PowerISA