mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 23:37:38 +02:00
Fix syntax errors
This commit is contained in:
parent
49dbd0160a
commit
092409cb53
1 changed files with 3 additions and 0 deletions
|
@ -5684,7 +5684,10 @@ void GC(void *data, closure cont, object * args, int num_args)
|
||||||
|
|
||||||
void Cyc_make_shared_object(void *data, object k, object obj)
|
void Cyc_make_shared_object(void *data, object k, object obj)
|
||||||
{
|
{
|
||||||
|
gc_thread_data *thd = (gc_thread_data *)data;
|
||||||
|
gc_heap_root *heap = thd->heap;
|
||||||
object buf[1];
|
object buf[1];
|
||||||
|
int tmp, *heap_grown = &tmp;
|
||||||
if (!is_object_type(obj) || // Immediates do not have to be moved
|
if (!is_object_type(obj) || // Immediates do not have to be moved
|
||||||
gc_is_stack_obj(data, obj)) { // Not thread-local, assume already on heap
|
gc_is_stack_obj(data, obj)) { // Not thread-local, assume already on heap
|
||||||
return_closcall1(data, k, obj);
|
return_closcall1(data, k, obj);
|
||||||
|
|
Loading…
Add table
Reference in a new issue