mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
(method_types_get_next_argument): Do weird argframe workaround not
just on m68k, but on all NeXT systems. (Reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>.) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1883 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9150d93f9c
commit
b2d55b6c2c
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ method_types_get_size_of_register_arguments(const char *types)
|
|||
}
|
||||
|
||||
|
||||
/* To fix temporary bug in method_get_next_argument() on m68k */
|
||||
/* To fix temporary bug in method_get_next_argument() on NeXT boxes */
|
||||
/* xxx Perhaps this isn't working with the NeXT runtime? */
|
||||
|
||||
char*
|
||||
|
@ -161,7 +161,7 @@ method_types_get_next_argument (arglist_t argf,
|
|||
return argframe->arg_regs + atoi(++t);
|
||||
else
|
||||
/* xxx What's going on here? This -8 needed on my 68k NeXT box. */
|
||||
#if m68k
|
||||
#if NeXT
|
||||
return argframe->arg_ptr + (atoi(t) - 8);
|
||||
#else
|
||||
return argframe->arg_ptr + atoi(t);
|
||||
|
|
Loading…
Reference in a new issue