summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-06-19 00:50:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2025-06-19 00:50:48 -0700
commitfdbe06cd26523f3ccc7670146a696a88e8c7fb87 (patch)
treeccf1ca0494a235f9cf394fa139c0ed3ee9bc49eb /stdlib
parent7f2c07785dc9d9183e1576ab8a40bc190395a5b3 (diff)
downloadtxr-fdbe06cd26523f3ccc7670146a696a88e8c7fb87.tar.gz
txr-fdbe06cd26523f3ccc7670146a696a88e8c7fb87.tar.bz2
txr-fdbe06cd26523f3ccc7670146a696a88e8c7fb87.zip
compiler/load: tlo version number increment,
The new tail call optimization relies on a fix to the VM's block instruction. This means that .tlo files in which TCO has been applied might not run correctly with TXR 300 or older. For that reason, we bump up the version number. * parser.c (read_file_common): Accept version 8.0 files, while continuing to allow 6 and 7 regardless of minor number. We get picky about minor number so that in the future we can use a a minor number increment for backward compatible changes like this. We would only like to go to version 9 if the VM changes in such a way that we cannot load 8 any more. If we can still load 8.0, we would like to go to 8.1. * stdlib/compiler.tl (%tlo-ver%): Change to 8.0. * txr.1: Documented.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/compiler.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/compiler.tl b/stdlib/compiler.tl
index 6a5e189f..fc0e9140 100644
--- a/stdlib/compiler.tl
+++ b/stdlib/compiler.tl
@@ -2566,7 +2566,7 @@
(defvarl %big-endian% (equal (ffi-put 1 (ffi uint32)) #b'00000001'))
-(defvarl %tlo-ver% ^(7 0 ,%big-endian%))
+(defvarl %tlo-ver% ^(8 0 ,%big-endian%))
(defvarl %package-manip% '(make-package delete-package
use-package unuse-package