mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-18 02:00:20 +02:00
Indirect threaded. Performance is the same as before. Wow\!
This commit is contained in:
parent
015959cb4a
commit
4b482259c3
7 changed files with 65 additions and 109 deletions
7
src/vm.h
7
src/vm.h
|
@ -51,9 +51,9 @@
|
|||
|
||||
/* Opcode */
|
||||
enum scm_opcode {
|
||||
#include "vm_system.op"
|
||||
#include "vm_scheme.op"
|
||||
#include "vm_number.op"
|
||||
#include "vm_system.opcode"
|
||||
#include "vm_scheme.opcode"
|
||||
#include "vm_number.opcode"
|
||||
op_last
|
||||
};
|
||||
|
||||
|
@ -73,7 +73,6 @@ struct scm_instruction {
|
|||
enum scm_opcode opcode; /* opcode */
|
||||
enum scm_inst_type type; /* argument type */
|
||||
char *name; /* instruction name */
|
||||
void *addr; /* instruction address */
|
||||
SCM obj; /* instruction object */
|
||||
/* fields for VM functions */
|
||||
char *sname; /* Scheme procedure name */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue