BIT-1384: Remove -O (optimize scripts) command-line option.

This commit is contained in:
Jon Siwek 2015-04-27 14:45:02 -05:00
parent da24fa40a5
commit b42706f0b5
8 changed files with 47 additions and 1003 deletions

View file

@ -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);
}
;