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