diff options
Diffstat (limited to 'bcc/function.c')
-rw-r--r-- | bcc/function.c | 4 |
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); } |