aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/mcode/ortho_code-decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-09-10 20:59:08 +0200
committerTristan Gingold <tgingold@free.fr>2015-09-10 20:59:08 +0200
commit42f4c411641c04da2b8f08f9029e17bfd37206e4 (patch)
tree97db2955734ee7e059f461cef8a2924eeb49271d /src/ortho/mcode/ortho_code-decls.adb
parent95632804220716d4993d3e4b0d0cba06d984a837 (diff)
downloadghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.tar.gz
ghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.tar.bz2
ghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.zip
Reimplement table package (used instead of GNAT.Table).
Diffstat (limited to 'src/ortho/mcode/ortho_code-decls.adb')
-rw-r--r--src/ortho/mcode/ortho_code-decls.adb12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ortho/mcode/ortho_code-decls.adb b/src/ortho/mcode/ortho_code-decls.adb
index 2557204fe..253ea6012 100644
--- a/src/ortho/mcode/ortho_code-decls.adb
+++ b/src/ortho/mcode/ortho_code-decls.adb
@@ -15,7 +15,7 @@
-- along with GCC; see the file COPYING. If not, write to the Free
-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-- 02111-1307, USA.
-with GNAT.Table;
+with Tables;
with Ada.Text_IO;
with Ortho_Ident;
with Ortho_Code.Debug; use Ortho_Code.Debug;
@@ -103,19 +103,17 @@ package body Ortho_Code.Decls is
pragma Pack (Dnode_Common);
- package Dnodes is new GNAT.Table
+ package Dnodes is new Tables
(Table_Component_Type => Dnode_Common,
Table_Index_Type => O_Dnode,
Table_Low_Bound => O_Dnode_First,
- Table_Initial => 128,
- Table_Increment => 100);
+ Table_Initial => 128);
- package TDnodes is new GNAT.Table
+ package TDnodes is new Tables
(Table_Component_Type => O_Dnode,
Table_Index_Type => O_Tnode,
Table_Low_Bound => O_Tnode_First,
- Table_Initial => 1,
- Table_Increment => 100);
+ Table_Initial => 8);
Context : O_Dnode := O_Dnode_Null;