summaryrefslogtreecommitdiff
path: root/ortho/mcode/ortho_code-consts.ads
diff options
context:
space:
mode:
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 603a8a1..7059b56 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;