summaryrefslogtreecommitdiff
path: root/bcc/function.c
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1999-01-23 13:29:22 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:40:39 +0200
commite62b35169cdcd13632ae353b1e5ffde7dec44201 (patch)
tree2646548ca84edb365354a6e68459f92943532cee /bcc/function.c
parent2233d47f9d89c107b6c425626d6eb2669363b055 (diff)
downloaddev86-0.14.7.tar.gz
Import Dev86src-0.14.7.tar.gzv0.14.7
Diffstat (limited to 'bcc/function.c')
-rw-r--r--bcc/function.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bcc/function.c b/bcc/function.c
index db2745d..0407028 100644
--- a/bcc/function.c
+++ b/bcc/function.c
@@ -98,8 +98,10 @@ struct symstruct *source;
{
if (source->type->scalar & DOUBLE)
source->storage = doublreturnregs;
+#ifdef I8088
else if (source->type->scalar & FLOAT)
source->storage = RETURNREG|DATREG2;
+#endif
else
source->storage = RETURNREG;
}
@@ -210,8 +212,10 @@ PUBLIC void loadretexpression()
{
if (returntype->scalar & DOUBLE)
loadexpression(doublreturnregs, returntype);
+#ifdef I8088
else if (returntype->scalar & FLOAT)
loadexpression(/* REURNREG|*/ DATREG2, returntype);
+#endif
else
loadexpression(RETURNREG, returntype);
}