aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/mcode/ortho_code-x86-abi.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-06-20 05:45:24 +0200
committerTristan Gingold <tgingold@free.fr>2017-06-20 05:45:24 +0200
commit6f3f640e0571fb8f31a8622da088a0435490c359 (patch)
treeb18d60d1708f75a0f4388c1b51c5a6abd4c4ef6a /src/ortho/mcode/ortho_code-x86-abi.adb
parent446af5a87d33f5862f9058204b36f3a60829f9a3 (diff)
downloadghdl-6f3f640e0571fb8f31a8622da088a0435490c359.tar.gz
ghdl-6f3f640e0571fb8f31a8622da088a0435490c359.tar.bz2
ghdl-6f3f640e0571fb8f31a8622da088a0435490c359.zip
ortho: add comments.
Diffstat (limited to 'src/ortho/mcode/ortho_code-x86-abi.adb')
-rw-r--r--src/ortho/mcode/ortho_code-x86-abi.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_code-x86-abi.adb b/src/ortho/mcode/ortho_code-x86-abi.adb
index 8c746c18a..389e2bdc5 100644
--- a/src/ortho/mcode/ortho_code-x86-abi.adb
+++ b/src/ortho/mcode/ortho_code-x86-abi.adb
@@ -79,8 +79,10 @@ package body Ortho_Code.X86.Abi is
raise Program_Error;
end case;
if Reg = R_None then
+ -- Passed on the stack, need 8 bytes.
Size := 8;
else
+ -- Passed by a register.
Size := 0;
end if;
else