diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-07-28 15:29:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-07-28 15:29:10 -0700 |
commit | f9f357f060b6c084c720b67226af3ad6f4cbfff7 (patch) | |
tree | 2991719e117846dc19917927926a4fd179fabe72 /tests/012 | |
parent | cfe0428c0d96813685b19a191a3bd20336c20001 (diff) | |
download | txr-f9f357f060b6c084c720b67226af3ad6f4cbfff7.tar.gz txr-f9f357f060b6c084c720b67226af3ad6f4cbfff7.tar.bz2 txr-f9f357f060b6c084c720b67226af3ad6f4cbfff7.zip |
FFI: bugfix: GC-correctness of assignments.
Recent work has introduced wrong-way assignments. When we
compile the slots after we have created the type object, the
slot types may be in a newer generation than the type object.
If we are reusing an old type object, it can be older than
the syntax, or the Lisp object being stored in it.
* ffi.c (make_ffi_type_struct, make_ffi_type_union): add some
setcheck calls to handle anti-generational assignments.
Diffstat (limited to 'tests/012')
0 files changed, 0 insertions, 0 deletions