mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
(GC_noop1): Moved into the same #if/#endif context where it is needed.
This commit is contained in:
parent
914c9f842a
commit
429e955781
1 changed files with 10 additions and 14 deletions
|
@ -62,20 +62,6 @@ typedef int GC_bool;
|
||||||
# define VOLATILE
|
# define VOLATILE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0 /* currently unused (as of 2001-07-12) */
|
|
||||||
|
|
||||||
/* Single argument version, robust against whole program analysis. */
|
|
||||||
static void
|
|
||||||
GC_noop1(x)
|
|
||||||
word x;
|
|
||||||
{
|
|
||||||
static VOLATILE word sink;
|
|
||||||
|
|
||||||
sink = x;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Machine dependent parameters. Some tuning parameters can be found */
|
/* Machine dependent parameters. Some tuning parameters can be found */
|
||||||
/* near the top of gc_private.h. */
|
/* near the top of gc_private.h. */
|
||||||
|
|
||||||
|
@ -1773,6 +1759,16 @@ void *scm_get_stack_base()
|
||||||
}
|
}
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Single argument version, robust against whole program analysis. */
|
||||||
|
static void
|
||||||
|
GC_noop1(x)
|
||||||
|
word x;
|
||||||
|
{
|
||||||
|
static VOLATILE word sink;
|
||||||
|
sink = x;
|
||||||
|
}
|
||||||
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#ifdef LINUX_STACKBOTTOM
|
#ifdef LINUX_STACKBOTTOM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue