diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-24 17:19:22 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-24 17:19:22 +0000 |
commit | 7980e653e57ae5b539533dee1d0b1a00fc16ea5d (patch) | |
tree | 68ad623b23e418ebf9757d9d0c4cbf6e6d4d5d92 /insnhelper.h | |
parent | 61fa3576222f7bee1ecc8486075baee62936c840 (diff) |
* call_cfunc.ci: removed.
* insnhelper.ci: added. this function includes all functions that
vm insns need.
* common.mk: ditto.
* insnhelper.h, vm.h, vm.c: move some declaration.
* gc.h: remove GC_CHECK() macro because GC.stress is more useful.
* compile.c, iseq.c, vm_dump: ditto.
* gc.h, thread.c: move a prototype decalaration.
* debug.c, debug.h: rename some functions.
* compile.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insnhelper.h')
-rw-r--r-- | insnhelper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/insnhelper.h b/insnhelper.h index 1fe19128b7..29c25d6122 100644 --- a/insnhelper.h +++ b/insnhelper.h @@ -13,8 +13,10 @@ #ifndef _INSNHELPER_H_INCLUDED_ #define _INSNHELPER_H_INCLUDED_ +#include "ruby/ruby.h" #include "vm.h" + /* * deal with control frame pointer */ @@ -143,7 +145,7 @@ while (0) /* optimize insn */ #define FIXNUM_2_P(a, b) ((a) & (b) & 1) -#define BASIC_OP_UNREDEFINED_P(op) ((yarv_redefined_flag & (op)) == 0) +#define BASIC_OP_UNREDEFINED_P(op) ((ruby_vm_redefined_flag & (op)) == 0) #define HEAP_CLASS_OF(obj) RBASIC(obj)->klass #define CALL_METHOD(num, blockptr, flag, id, mn, recv, klass) do { \ |