summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-04-05 09:18:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-04-05 09:18:14 -0700
commitc162f73f9cfd0bb48675dc11bd56ac359451510b (patch)
tree5fda9e1835758135d39090ddc8ca79ec1070c5d9 /ChangeLog
parent1e5d313bafa78885490b3fa0759ba76436917d9b (diff)
downloadtxr-c162f73f9cfd0bb48675dc11bd56ac359451510b.tar.gz
txr-c162f73f9cfd0bb48675dc11bd56ac359451510b.tar.bz2
txr-c162f73f9cfd0bb48675dc11bd56ac359451510b.zip
The mut macro should only be used for vectors or vector-like objects
which hold direct references to other objects and must be used each time a mutation takes place. * eval.c (op_dohash): invocations of mut macro removed. Comment rewritten. * lib.c (sort_list): Use set macro for mutating assignment. Do not invoke mut on sorted list; it won't work anyway, because it doesn't mean what the code wants it to mean: that the list will be fully traversed during gc marking.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ed8c6c5..4b3d95c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
2012-04-05 Kaz Kylheku <kaz@kylheku.com>
+ The mut macro should only be used for vectors or vector-like objects
+ which hold direct references to other objects and must be used
+ each time a mutation takes place.
+
+ * eval.c (op_dohash): invocations of mut macro removed.
+ Comment rewritten.
+
+ * lib.c (sort_list): Use set macro for mutating assignment.
+ Do not invoke mut on sorted list; it won't work anyway, because
+ it doesn't mean what the code wants it to mean: that the list will be
+ fully traversed during gc marking.
+
+2012-04-05 Kaz Kylheku <kaz@kylheku.com>
+
Bunch of fixes.
* gc.c (gc_mutated): Return the value.