From 8a8f3d867598a1f9e3125c9d0648ae20a7144253 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 28 Aug 2022 12:27:45 +0200 Subject: synth: use areapools --- src/synth/synth-vhdl_context.adb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/synth/synth-vhdl_context.adb') diff --git a/src/synth/synth-vhdl_context.adb b/src/synth/synth-vhdl_context.adb index 1d7aa5538..7b6c81cbb 100644 --- a/src/synth/synth-vhdl_context.adb +++ b/src/synth/synth-vhdl_context.adb @@ -387,10 +387,13 @@ package body Synth.Vhdl_Context is Ptyp : Type_Acc; Voff : Net; Eoff : Uns32; - Typ : Type_Acc) return Valtyp is + Typ : Type_Acc; + Pool : Areapools.Areapool_Acc) + return Valtyp is begin return (Typ, - Create_Value_Dyn_Alias (Obj, Poff, Ptyp, To_Uns32 (Voff), Eoff)); + Create_Value_Dyn_Alias (Obj, Poff, Ptyp, To_Uns32 (Voff), Eoff, + Pool)); end Create_Value_Dyn_Alias; function Get_Value_Dyn_Alias_Voff (Val : Value_Acc) return Net is -- cgit v1.2.3