mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Fix logical error
This commit is contained in:
parent
c47ee88589
commit
bcea7ce1ef
1 changed files with 1 additions and 1 deletions
|
@ -5689,7 +5689,7 @@ void Cyc_make_shared_object(void *data, object k, object obj)
|
||||||
object buf[1];
|
object buf[1];
|
||||||
int tmp, *heap_grown = &tmp;
|
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