aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/mcode/ortho_mcode.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-02-15 06:01:47 +0100
committerTristan Gingold <tgingold@free.fr>2016-02-17 21:04:45 +0100
commit228c201e45fd56cb3a32fed0abb6285a95fa9c91 (patch)
tree943a546f6049c434745776aa2205688de001ff60 /src/ortho/mcode/ortho_mcode.adb
parent841d7b35dfc55fe8be9a5155bc069fb6e467af1f (diff)
downloadghdl-228c201e45fd56cb3a32fed0abb6285a95fa9c91.tar.gz
ghdl-228c201e45fd56cb3a32fed0abb6285a95fa9c91.tar.bz2
ghdl-228c201e45fd56cb3a32fed0abb6285a95fa9c91.zip
mcode: init support for initialized variables.
Diffstat (limited to 'src/ortho/mcode/ortho_mcode.adb')
-rw-r--r--src/ortho/mcode/ortho_mcode.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_mcode.adb b/src/ortho/mcode/ortho_mcode.adb
index 55e890bf3..77e101721 100644
--- a/src/ortho/mcode/ortho_mcode.adb
+++ b/src/ortho/mcode/ortho_mcode.adb
@@ -715,6 +715,7 @@ package body Ortho_Mcode is
Ortho_Code.Decls.Disp_All_Decls;
--Ortho_Code.Exprs.Disp_All_Enode;
end if;
+ Ortho_Code.Decls.Alloc_Zero;
Ortho_Code.Abi.Finish;
if Debug.Flag_Debug_Stat then
Ada.Text_IO.Put_Line ("Statistics:");