diff options
Diffstat (limited to 'src/arch/riscv/insts/static_inst.hh')
-rw-r--r-- | src/arch/riscv/insts/static_inst.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/riscv/insts/static_inst.hh b/src/arch/riscv/insts/static_inst.hh index 073b60c1c..3f6d58654 100644 --- a/src/arch/riscv/insts/static_inst.hh +++ b/src/arch/riscv/insts/static_inst.hh @@ -56,6 +56,12 @@ class RiscvStaticInst : public StaticInst public: void advancePC(PCState &pc) const { pc.advance(); } + + size_t + asBytes(void *buf, size_t size) override + { + return simpleAsBytes(buf, size, machInst); + } }; /** |