From 5c99ae60b80bec0edfef0e773bae4824423d5fae Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Thu, 20 Jan 2011 22:13:33 -0800 Subject: [PATCH] checkpointing: fix bug from curTick accessor conversion. Regex replacement of curTick with curTick() accidentally changed checkpoint key string for serialization but not for unserialization. --- src/sim/serialize.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim/serialize.cc b/src/sim/serialize.cc index b050027e2..d28f335be 100644 --- a/src/sim/serialize.cc +++ b/src/sim/serialize.cc @@ -400,7 +400,7 @@ void Globals::serialize(ostream &os) { nameOut(os); - SERIALIZE_SCALAR(curTick()); + paramOut(os, "curTick", curTick()); nameOut(os, "MainEventQueue"); mainEventQueue.serialize(os); -- 2.30.2