From c732d498e5769028714c1b9d0b8e784affeed766 Mon Sep 17 00:00:00 2001 From: mccallum Date: Thu, 31 Oct 1996 17:09:27 +0000 Subject: [PATCH] (method_types_get_next_argument): Do weird argframe workaround not just on m68k, but on all NeXT systems. (Reported by Richard Frith-Macdonald .) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1883 72102866-910b-0410-8b05-ffd578937521 --- Source/mframe.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/mframe.m b/Source/mframe.m index 9f5d061a8..8c1140938 100644 --- a/Source/mframe.m +++ b/Source/mframe.m @@ -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);