From 3ff3eee398d8909afd89b900e258bfba081df22e Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Wed, 3 Sep 2025 12:42:58 -0700 Subject: [PATCH] fixup! fixup! shift much of the internal use of ID* identifier pointers over to IDPtr objects --- src/script_opt/ZAM/Driver.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/script_opt/ZAM/Driver.cc b/src/script_opt/ZAM/Driver.cc index 481bcf1a99..34e3f926c2 100644 --- a/src/script_opt/ZAM/Driver.cc +++ b/src/script_opt/ZAM/Driver.cc @@ -48,9 +48,7 @@ void ZAMCompiler::Init() { void ZAMCompiler::InitGlobals() { for ( auto& g : pf->Globals() ) { - GlobalInfo info; - info.id = g; - info.slot = AddToFrame(g); + GlobalInfo info{.id = g, .slot = AddToFrame(g)}; global_id_to_info[g] = globalsI.size(); globalsI.push_back(info); }