mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 06:20:30 +02:00
Refactor to separate gcbench from gc
This commit is contained in:
parent
77ac530360
commit
f57a1b8a55
10 changed files with 132 additions and 101 deletions
17
gc.h
Normal file
17
gc.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef GC_H_
|
||||
#define GC_H_
|
||||
|
||||
#if defined(GC_BDW)
|
||||
#include "bdw.h"
|
||||
#elif defined(GC_SEMI)
|
||||
#include "semi.h"
|
||||
#elif defined(GC_MARK_SWEEP)
|
||||
#include "mark-sweep.h"
|
||||
#elif defined(GC_PARALLEL_MARK_SWEEP)
|
||||
#define GC_PARALLEL_MARK 1
|
||||
#include "mark-sweep.h"
|
||||
#else
|
||||
#error unknown gc
|
||||
#endif
|
||||
|
||||
#endif // GC_H_
|
Loading…
Add table
Add a link
Reference in a new issue