removal of unused functionality and some follow-on simplifications

This commit is contained in:
Vern Paxson 2023-06-16 16:16:13 -07:00 committed by Arne Welzel
parent ecc93606c4
commit b6b4a81e0d
9 changed files with 17 additions and 143 deletions

View file

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