mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
removal of unused functionality and some follow-on simplifications
This commit is contained in:
parent
ecc93606c4
commit
b6b4a81e0d
9 changed files with 17 additions and 143 deletions
|
@ -1109,19 +1109,6 @@ const ZAMStmt ZAMCompiler::DoCall(const CallExpr* c, const NameExpr* n)
|
|||
z.func = func_id->GetVal()->AsFunc();
|
||||
}
|
||||
|
||||
if ( n )
|
||||
{
|
||||
auto id = n->Id();
|
||||
if ( id->IsGlobal() )
|
||||
{
|
||||
AddInst(z);
|
||||
auto global_slot = global_id_to_info[id];
|
||||
z = ZInstI(OP_STORE_GLOBAL_V, global_slot);
|
||||
z.op_type = OP_V_I1;
|
||||
z.t = globalsI[global_slot].id->GetType();
|
||||
}
|
||||
}
|
||||
|
||||
return AddInst(z);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue