3
* Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
4
* Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved.
5
* Copyright (c) 2000 by Hewlett-Packard Company. All rights reserved.
7
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
8
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
10
* Permission is hereby granted to use or copy this program
11
* for any purpose, provided the above notices are retained on all copies.
12
* Permission to modify the code and to distribute modified code is granted,
13
* provided the above notices are retained, and a notice that the code was
14
* modified is included with the above copyright notice.
21
* 2006-12-23 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
22
* - Imported from mark.c of gc7.0alpha7
23
* - Remove all functions but GC_noop1()
24
* 2007-07-18 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
26
* - Keep all functions but GC_noop1() removed
29
# include "private/gcroots_priv.h"
30
# include "private/gc_priv.h"
32
/* Single argument version, robust against whole program analysis. */
35
static volatile word sink;