vm/kite_instr.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "objs/kite_object.h"
#include "kite_vm.h"
#include "kite_opcodes.h"

Defines

#define ALLOCATE_OPCODE(name)   (name*)kite_compile_common(sizeof(name))

Functions

kite_opcode_tkite_compile_arithop (unsigned int operation)
kite_opcode_tkite_compile_push (struct kite_object_t *obj)
kite_opcode_tkite_compile_this ()
kite_opcode_tkite_compile_list_cons ()
kite_opcode_tkite_compile_list_cons_0 ()
kite_opcode_tkite_compile_list_cons_1 ()
kite_opcode_tkite_compile_deref_1 (int create)
kite_opcode_tkite_compile_deref_2 ()
kite_opcode_tkite_compile_call ()
kite_opcode_tkite_compile_jump_true (kite_opcode_t *jumpto)
kite_opcode_tkite_compile_jump_false (kite_opcode_t *jumpto)
kite_opcode_tkite_compile_jump_uncond (kite_opcode_t *jumpto)
kite_opcode_tkite_compile_exception_hndl (kite_opcode_t *handler)
kite_opcode_tkite_compile_pop_exception_hndl ()
kite_opcode_tkite_compile_dupe_top (int dupe_ref)
kite_opcode_tkite_compile_funcargs (struct kite_object_t *args)
kite_opcode_tkite_compile_make ()
kite_opcode_tkite_compile_eval ()
kite_opcode_tkite_compile_nop ()
kite_opcode_tkite_compile_return ()
kite_opcode_tkite_compile_defprop ()
kite_opcode_tkite_compile_objis (int isof)
kite_opcode_tkite_add_to_instruction_list (kite_opcode_t **list, kite_opcode_t *opc)
void kite_free_instruction_list (kite_thread_t *thd, kite_opcode_t *opc)
kite_opcode_tkite_copy_instruction_list (kite_thread_t *thd, kite_opcode_t *opc)

Define Documentation

#define ALLOCATE_OPCODE ( name   )     (name*)kite_compile_common(sizeof(name))


Function Documentation

kite_opcode_t* kite_add_to_instruction_list ( kite_opcode_t **  list,
kite_opcode_t opc 
)

References kite_opcode_t::next.

kite_opcode_t* kite_compile_arithop ( unsigned int  operation  ) 

kite_opcode_t* kite_compile_call (  ) 

kite_opcode_t* kite_compile_defprop (  ) 

kite_opcode_t* kite_compile_deref_1 ( int  create  ) 

kite_opcode_t* kite_compile_deref_2 (  ) 

kite_opcode_t* kite_compile_dupe_top ( int  dupe_ref  ) 

kite_opcode_t* kite_compile_eval (  ) 

kite_opcode_t* kite_compile_exception_hndl ( kite_opcode_t handler  ) 

kite_opcode_t* kite_compile_funcargs ( struct kite_object_t args  ) 

kite_opcode_t* kite_compile_jump_false ( kite_opcode_t jumpto  ) 

kite_opcode_t* kite_compile_jump_true ( kite_opcode_t jumpto  ) 

kite_opcode_t* kite_compile_jump_uncond ( kite_opcode_t jumpto  ) 

kite_opcode_t* kite_compile_list_cons (  ) 

kite_opcode_t* kite_compile_list_cons_0 (  ) 

kite_opcode_t* kite_compile_list_cons_1 (  ) 

kite_opcode_t* kite_compile_make (  ) 

kite_opcode_t* kite_compile_nop (  ) 

kite_opcode_t* kite_compile_objis ( int  isof  ) 

kite_opcode_t* kite_compile_pop_exception_hndl (  ) 

kite_opcode_t* kite_compile_push ( struct kite_object_t obj  ) 

kite_opcode_t* kite_compile_return (  ) 

kite_opcode_t* kite_compile_this (  ) 

kite_opcode_t* kite_copy_instruction_list ( kite_thread_t thd,
kite_opcode_t opc 
)

void kite_free_instruction_list ( kite_thread_t thd,
kite_opcode_t opc 
)


Generated on Sun Feb 8 19:42:48 2009 for Kite by  doxygen 1.5.6