mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
ZAM execution changes to support richer profiling
This commit is contained in:
parent
c8d15f1eaa
commit
c29db63fdd
13 changed files with 284 additions and 131 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue