aboutsummaryrefslogtreecommitdiffstats
path: root/ortho/mcode/ortho_code-consts.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-01-24 06:54:45 +0100
committerTristan Gingold <tgingold@free.fr>2014-01-24 06:54:45 +0100
commitdd191d5f5d6ac2dc48ed1ee4fb4d1bd09dce8b73 (patch)
tree9f0a22326ca6813321f2b73729049f8ba07072a0 /ortho/mcode/ortho_code-consts.ads
parent9567c15d0db2d39ce8ea83b3dff96e7e8f852243 (diff)
downloadghdl-dd191d5f5d6ac2dc48ed1ee4fb4d1bd09dce8b73.tar.gz
ghdl-dd191d5f5d6ac2dc48ed1ee4fb4d1bd09dce8b73.tar.bz2
ghdl-dd191d5f5d6ac2dc48ed1ee4fb4d1bd09dce8b73.zip
mcode: add get_alignof_type.
Diffstat (limited to 'ortho/mcode/ortho_code-consts.ads')
-rw-r--r--ortho/mcode/ortho_code-consts.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/ortho/mcode/ortho_code-consts.ads b/ortho/mcode/ortho_code-consts.ads
index 603a8a197..7059b569a 100644
--- a/ortho/mcode/ortho_code-consts.ads
+++ b/ortho/mcode/ortho_code-consts.ads
@@ -56,9 +56,12 @@ package Ortho_Code.Consts is
-- Declaration for an address.
function Get_Const_Decl (Cst : O_Cnode) return O_Dnode;
- -- Get the type whose size is expected.
+ -- Get the type from an OC_Sizeof node.
function Get_Sizeof_Type (Cst : O_Cnode) return O_Tnode;
+ -- Get the type from an OC_Alignof node.
+ function Get_Alignof_Type (Cst : O_Cnode) return O_Tnode;
+
-- Get the value of a named literal.
--function Get_Const_Literal (Cst : O_Cnode) return Uns32;