mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +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
|
@ -64,9 +64,6 @@ static void make_var(ID* id, BroType* t, init_class c, Expr* init,
|
|||
}
|
||||
}
|
||||
|
||||
if ( init && optimize )
|
||||
init = init->Simplify(SIMPLIFY_GENERAL);
|
||||
|
||||
if ( t && t->IsSet() )
|
||||
{ // Check for set with explicit elements.
|
||||
SetType* st = t->AsTableType()->AsSetType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue