simplified some vestigial complexity I noticed when flipping through diffs

This commit is contained in:
Vern Paxson 2021-01-10 17:36:03 -08:00
parent dc38880cee
commit 03085d45e5

View file

@ -113,11 +113,7 @@ NameExprPtr Reducer::PushInlineBlock(TypePtr type)
if ( ! type || type->Tag() == TYPE_VOID )
return nullptr;
char buf[8192];
int n = new_locals.size();
snprintf(buf, sizeof buf, "@retvar");
IDPtr ret_id = install_ID(buf, "<internal>", false, false);
IDPtr ret_id = install_ID("@retvar", "<internal>", false, false);
ret_id->SetType(type);
// Track this as a new local *if* we're in the outermost inlining