2007-02-02 18:21:41 +03:00
|
|
|
/** -*-c-*-
|
|
|
|
This file contains YARV instructions list.
|
|
|
|
|
|
|
|
----
|
|
|
|
This file is auto generated by insns2vm.rb
|
|
|
|
DO NOT TOUCH!
|
|
|
|
|
|
|
|
If you want to fix something, you must edit 'template/insns.inc.tmpl'
|
|
|
|
or insns2vm.rb
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/* BIN : Basic Instruction Name */
|
|
|
|
#define BIN(n) YARVINSN_##n
|
|
|
|
|
|
|
|
enum{
|
|
|
|
<%= insns %>
|
|
|
|
};
|
|
|
|
|
* blockinlining.c: remove "yarv" prefix.
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 08:25:46 +04:00
|
|
|
#define VM_INSTRUCTION_SIZE <%= @insns.size %>
|
2007-02-02 18:21:41 +03:00
|
|
|
|