mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Renumber instructions and bump objcode version
* libguile/loader.h (SCM_OBJCODE_MINIMUM_MINOR_VERSION): (SCM_OBJCODE_MINOR_VERSION): Bump version. * module/system/vm/assembler.scm (*bytecode-minor-version*): Bump. * libguile/vm-engine.c: Rearrange opcodes to be contiguous and in a somewhat sensible order.
This commit is contained in:
parent
ce9169804e
commit
4060728e0a
3 changed files with 1491 additions and 1602 deletions
|
@ -39,8 +39,8 @@
|
|||
|
||||
/* Major and minor versions must be single characters. */
|
||||
#define SCM_OBJCODE_MAJOR_VERSION 4
|
||||
#define SCM_OBJCODE_MINIMUM_MINOR_VERSION 0
|
||||
#define SCM_OBJCODE_MINOR_VERSION 0
|
||||
#define SCM_OBJCODE_MINIMUM_MINOR_VERSION 1
|
||||
#define SCM_OBJCODE_MINOR_VERSION 1
|
||||
#define SCM_OBJCODE_MAJOR_VERSION_STRING \
|
||||
SCM_CPP_STRINGIFY(SCM_OBJCODE_MAJOR_VERSION)
|
||||
#define SCM_OBJCODE_MINOR_VERSION_STRING \
|
||||
|
|
3087
libguile/vm-engine.c
3087
libguile/vm-engine.c
File diff suppressed because it is too large
Load diff
|
@ -2041,7 +2041,7 @@ needed."
|
|||
|
||||
;; FIXME: Define these somewhere central, shared with C.
|
||||
(define *bytecode-major-version* #x0300)
|
||||
(define *bytecode-minor-version* 0)
|
||||
(define *bytecode-minor-version* 1)
|
||||
|
||||
(define (link-dynamic-section asm text rw rw-init frame-maps)
|
||||
"Link the dynamic section for an ELF image with bytecode @var{text},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue