mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
BIT-1384: Remove -O (optimize scripts) command-line option.
This commit is contained in:
parent
da24fa40a5
commit
b42706f0b5
8 changed files with 47 additions and 1003 deletions
|
@ -272,9 +272,6 @@ static bool has_attr(const attr_list* al, attr_tag tag)
|
|||
bro:
|
||||
decl_list stmt_list
|
||||
{
|
||||
if ( optimize )
|
||||
$2 = $2->Simplify();
|
||||
|
||||
if ( stmts )
|
||||
stmts->AsStmtList()->Stmts().append($2);
|
||||
else
|
||||
|
@ -1173,9 +1170,6 @@ func_body:
|
|||
|
||||
'}'
|
||||
{
|
||||
if ( optimize )
|
||||
$4 = $4->Simplify();
|
||||
|
||||
end_func($4, $1);
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue