|
|
|
@ -84,7 +84,7 @@ char *stack_getstr(struct vm_thread *thread, int len, int count);
|
|
|
|
|
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; |
|
|
|
|