summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-10-09 17:29:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-10-09 17:29:55 -0700
commit6f2e29ca5ec43782943870d1d876f2e8b9ac58f2 (patch)
tree21c34284b67b09a0d59ee50178b453ec2b884d1b
parent13d2ffbe495256b015ea8bad6f4ff48bcaa57f87 (diff)
downloadtxr-6f2e29ca5ec43782943870d1d876f2e8b9ac58f2.tar.gz
txr-6f2e29ca5ec43782943870d1d876f2e8b9ac58f2.tar.bz2
txr-6f2e29ca5ec43782943870d1d876f2e8b9ac58f2.zip
compiler: bump up compiled file version to 5.1.
* share/txr/stdlib/compiler.tl (%tlo-ver%): Bump minor version from 0 to 1. Because the major version doesn't change, these files will be loaded by TXR 216 through 243, because those versions only look at the major number. The upcoming 244 will continue to do that. What the minor number increase indicates is that the compiled files do not use the deprecated movi instruction group. If a future version of TXR removes the instructions from the VM, it will then insist on only loading version 5 files if the minor number is at least 1. Version 5.0 files will be rejected, as will version 4 or lower.
-rw-r--r--share/txr/stdlib/compiler.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/compiler.tl b/share/txr/stdlib/compiler.tl
index d1ee6664..d3f45555 100644
--- a/share/txr/stdlib/compiler.tl
+++ b/share/txr/stdlib/compiler.tl
@@ -1663,7 +1663,7 @@
(defvarl %big-endian% (equal (ffi-put 1 (ffi uint32)) #b'00000001'))
-(defvarl %tlo-ver% ^(5 0 ,%big-endian%))
+(defvarl %tlo-ver% ^(5 1 ,%big-endian%))
(defvarl %package-manip% '(make-package delete-package
use-package unuse-package