The unified diff between revisions [8482057d..] and [ce9d6288..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/vm.c'

#
# old_revision [8482057dd1a991674bb30b63b9397a3c5d069df9]
# new_revision [ce9d628825328f2576769426f4d3544fe89a14ce]
#
# patch "src/lsi/vm.c"
#  from [2c18e65f543e306db2ca1023e8ef82724829f4a7]
#    to [2f4df836fac21746563e434768e4f832c1ea3e15]
#
============================================================
--- src/lsi/vm.c	2c18e65f543e306db2ca1023e8ef82724829f4a7
+++ src/lsi/vm.c	2f4df836fac21746563e434768e4f832c1ea3e15
@@ -84,7 +84,7 @@ void stack_pokereal(struct vm_thread *th
 void stack_poke(struct vm_thread *thread, int count, stkentry value);
 void stack_pokereal(struct vm_thread *thread, int count, float value);
 
-int vm_intfn_nop(void)
+int vm_intfn___nop(void)
 {
 	/* Do nothing */
 	return 1;
@@ -95,7 +95,7 @@ int vm_intfn_nop(void)
  * The compiler does not allocate space for a return value.
  * They also change the stack pointer.
  */
-int vm_intfn_global_store(void)
+int vm_intfn___global_store(void)
 {
 	int len, next, value;
 	struct hashentry *hashptr;
@@ -130,7 +130,7 @@ gstoreout:
 	return 1;
 }
 
-int vm_intfn_global_load(void)
+int vm_intfn___global_load(void)
 {
 	int len, next, value;
 	struct hashentry *hashptr;
@@ -163,7 +163,7 @@ gloadout:
 	return 1;
 }
 
-int vm_intfn_global_array_store(void)
+int vm_intfn___global_array_store(void)
 {
 	int len, next, value, index;
 	struct hashentry *hashptr;
@@ -210,7 +210,7 @@ gstorearrayout:
 	return 1;
 }
 
-int vm_intfn_global_array_load(void)
+int vm_intfn___global_array_load(void)
 {
 	int len, next, value, index;
 	struct hashentry *hashptr;
@@ -609,6 +609,11 @@ void vm_init_functions(void)
 	assert(vm_codearea[2] == VERSION1);
 	assert(vm_codearea[3] == VERSION2);
 
+	assert(GETINT(vm_codearea, 8) == vm_abiversion1);
+	assert(GETINT(vm_codearea, 12) == vm_abiversion2);
+	assert(GETINT(vm_codearea, 16) == vm_abiversion3);
+	assert(GETINT(vm_codearea, 20) == vm_abiversion4);
+	assert(GETINT(vm_codearea, 24) == vm_abiversion5);
 
 	/* Now, get the function table pointer */
 	t = GETINT(vm_codearea, 4);