chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH][5] C_permanentp should return false for object


From: Peter Bex
Subject: [Chicken-hackers] [PATCH][5] C_permanentp should return false for objects in scratch space
Date: Wed, 29 Jun 2016 16:42:28 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi all,

C_permanentp came up in an IRC discussion about the symbol GC, and
it occurred to me that this doesn't yet know about the scratch space.
This means that currently, numbers residing in the scratch space will
be seen as "permanent", while they will be moved to the heap on the
next GC, so they aren't permanent!

The attached patch should be simple enough and adds a check for this.

Cheers,
Peter

Attachment: 0001-Teach-C_permanentp-about-the-scratch-space.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]