From f4551ed8f9388d7ab79851ea5a42b8a14841130b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 9 Oct 2020 17:29:55 -0700 Subject: 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. --- share/txr/stdlib/compiler.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3