mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Removed currently unused flag __ENABLE_GC__
This commit is contained in:
parent
17cf7f4682
commit
304c21260e
1 changed files with 0 additions and 23 deletions
|
|
@ -7,29 +7,6 @@
|
|||
#include "gc.h"
|
||||
#include "runtime_common.h"
|
||||
|
||||
#define __ENABLE_GC__
|
||||
#ifndef __ENABLE_GC__
|
||||
# define alloc malloc
|
||||
#endif
|
||||
|
||||
#ifdef __ENABLE_GC__
|
||||
|
||||
/* GC extern invariant for built-in functions */
|
||||
extern void __pre_gc ();
|
||||
extern void __post_gc ();
|
||||
|
||||
#else
|
||||
|
||||
# define __pre_gc __pre_gc_subst
|
||||
# define __post_gc __post_gc_subst
|
||||
|
||||
void __pre_gc_subst () { }
|
||||
|
||||
void __post_gc_subst () { }
|
||||
|
||||
#endif
|
||||
/* end */
|
||||
|
||||
extern size_t __gc_stack_top, __gc_stack_bottom;
|
||||
|
||||
#define PRE_GC() \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue