~ubuntu-branches/ubuntu/hardy/sigscheme/hardy-proposed

« back to all changes in this revision

Viewing changes to libgcroots/mark.c

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2007-01-29 15:31:24 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070129153124-j5fcqyrwcfbczma7
Tags: 0.7.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/*
 
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.
 
6
 *
 
7
 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
 
8
 * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
 
9
 *
 
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.
 
15
 *
 
16
 */
 
17
 
 
18
/*
 
19
 * ChangeLog
 
20
 *
 
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
 */
 
25
 
 
26
# include "private/gcroots_priv.h"
 
27
# include "private/gc_priv.h"
 
28
 
 
29
/* Single argument version, robust against whole program analysis. */
 
30
void GC_noop1(word x)
 
31
{
 
32
    static volatile word sink;
 
33
 
 
34
    sink = x;
 
35
}