summaryrefslogtreecommitdiff
path: root/ortho/mcode/ortho_code-x86-emits.adb
diff options
context:
space:
mode:
authorTristan Gingold2014-01-15 06:12:10 +0100
committerTristan Gingold2014-01-15 06:12:10 +0100
commitd68bc3f41ad8a750eda9c50878c6728a84ad3097 (patch)
tree9284690b0797e3ffed8839611d4b8e53ee1d5894 /ortho/mcode/ortho_code-x86-emits.adb
parent9b22b46458f2c80d87ffd957aa7df78cb98ee710 (diff)
downloadghdl-d68bc3f41ad8a750eda9c50878c6728a84ad3097.tar.gz
ghdl-d68bc3f41ad8a750eda9c50878c6728a84ad3097.tar.bz2
ghdl-d68bc3f41ad8a750eda9c50878c6728a84ad3097.zip
Add Alignof constant to get the alignment of a type.
Diffstat (limited to 'ortho/mcode/ortho_code-x86-emits.adb')
-rw-r--r--ortho/mcode/ortho_code-x86-emits.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ortho/mcode/ortho_code-x86-emits.adb b/ortho/mcode/ortho_code-x86-emits.adb
index 12f1587..ad1ef55 100644
--- a/ortho/mcode/ortho_code-x86-emits.adb
+++ b/ortho/mcode/ortho_code-x86-emits.adb
@@ -2233,6 +2233,7 @@ package body Ortho_Code.X86.Emits is
end loop;
end;
when OC_Sizeof
+ | OC_Alignof
| OC_Union =>
raise Program_Error;
end case;