mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
script optimization support for clearing tables/vectors using "delete"
This commit is contained in:
parent
ce6d77e2ce
commit
74d36eb759
6 changed files with 37 additions and 8 deletions
|
@ -874,7 +874,7 @@ const ZAMStmt ZAMCompiler::Call(const ExprStmt* e) {
|
|||
|
||||
if ( IsZAM_BuiltIn(c.get()) ) {
|
||||
auto ret = LastInst();
|
||||
insts1.back()->call_expr = c;
|
||||
insts1.back()->call_expr = std::move(c);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue