summaryrefslogtreecommitdiff
path: root/6/asm.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-22 09:56:31 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-22 09:56:31 -0700
commit53f937aeaa1ad2320f61c63933e24f2f6f1f326f (patch)
tree2d0fee5bd071d015b1eb5f430a9a099674730036 /6/asm.h
parentdee37ce8cb666cfe9b60520f595fbf9ae50cee29 (diff)
downloadmc-53f937aeaa1ad2320f61c63933e24f2f6f1f326f.tar.gz
Add type size and other info.
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/asm.h b/6/asm.h
index 65378fb..2ada3c8 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -270,6 +270,7 @@ Rclass rclass(Loc *l);
/* useful functions */
size_t tysize(Type *t);
+size_t tyalign(Type *t);
size_t size(Node *n);
ssize_t tyoffset(Type *ty, Node *memb);
ssize_t offset(Node *aggr, Node *memb);