mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
regularized (some) types of pointers used in script optimization
This commit is contained in:
parent
dd389c0380
commit
709d410fcd
18 changed files with 85 additions and 93 deletions
|
@ -634,8 +634,9 @@ void ZAMCompiler::ReMapInterpreterFrame() {
|
|||
|
||||
// Update frame sizes for functions that might have more than
|
||||
// one body.
|
||||
if ( remapped_intrp_frame_sizes.count(func) == 0 || remapped_intrp_frame_sizes[func] < next_interp_slot )
|
||||
remapped_intrp_frame_sizes[func] = next_interp_slot;
|
||||
auto f = func.get();
|
||||
if ( remapped_intrp_frame_sizes.count(f) == 0 || remapped_intrp_frame_sizes[f] < next_interp_slot )
|
||||
remapped_intrp_frame_sizes[f] = next_interp_slot;
|
||||
}
|
||||
|
||||
void ZAMCompiler::ReMapVar(const ID* id, int slot, zeek_uint_t inst) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue