ZAM execution changes to support richer profiling

This commit is contained in:
Vern Paxson 2024-03-10 17:11:04 -04:00 committed by Tim Wojtulewicz
parent c8d15f1eaa
commit c29db63fdd
13 changed files with 284 additions and 131 deletions

View file

@ -60,14 +60,14 @@ public:
ZInst(ZOp _op, ZAMOpType _op_type) {
op = _op;
op_type = _op_type;
ASSERT(curr_loc);
loc = curr_loc;
ASSERT(ZAM::curr_loc);
loc = ZAM::curr_loc;
}
// Create a stub instruction that will be populated later.
ZInst() {
ASSERT(curr_loc);
loc = curr_loc;
ASSERT(ZAM::curr_loc);
loc = ZAM::curr_loc;
}
virtual ~ZInst() = default;