diff options
Diffstat (limited to 'cpu/exec_context.cc')
-rw-r--r-- | cpu/exec_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/exec_context.cc b/cpu/exec_context.cc index b869a8c4d..195c9daad 100644 --- a/cpu/exec_context.cc +++ b/cpu/exec_context.cc @@ -108,10 +108,10 @@ ExecContext::serialize(ostream &os) void -ExecContext::unserialize(const IniFile *db, const std::string §ion) +ExecContext::unserialize(Checkpoint *cp, const std::string §ion) { UNSERIALIZE_ENUM(_status); - regs.unserialize(db, section); + regs.unserialize(cp, section); // thread_num and cpu_id are deterministic from the config UNSERIALIZE_SCALAR(func_exe_insn); } |