mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-17 14:40:22 +02:00
(GC_noop1): Move before `GC_find_limit' where it is used; nfc.
Thanks to Bill Schottstaedt.
This commit is contained in:
parent
b573e74455
commit
9ec1e7705c
1 changed files with 27 additions and 27 deletions
|
@ -1727,6 +1727,15 @@ void *scm_get_stack_base()
|
|||
# endif
|
||||
}
|
||||
|
||||
/* Single argument version, robust against whole program analysis. */
|
||||
static void
|
||||
GC_noop1(x)
|
||||
word x;
|
||||
{
|
||||
static VOLATILE word sink;
|
||||
sink = x;
|
||||
}
|
||||
|
||||
/* Return the first nonaddressible location > p (up) or */
|
||||
/* the smallest location q s.t. [q,p] is addressible (!up). */
|
||||
static ptr_t GC_find_limit(p, up)
|
||||
|
@ -1760,15 +1769,6 @@ void *scm_get_stack_base()
|
|||
return(result);
|
||||
}
|
||||
|
||||
/* Single argument version, robust against whole program analysis. */
|
||||
static void
|
||||
GC_noop1(x)
|
||||
word x;
|
||||
{
|
||||
static VOLATILE word sink;
|
||||
sink = x;
|
||||
}
|
||||
|
||||
# endif
|
||||
|
||||
#ifdef LINUX_STACKBOTTOM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue