summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-06 19:00:03 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-06 19:00:03 +0000
commit8ee7d0767f7940baeae60ffa95afde93f3378c93 (patch)
tree2f90c7d6ab23acba9e00fa773fb76673123db3f8 /insns.def
parentb1c6339b0c2d3288eab5c45cb86ecd30c9b0dc9d (diff)
* blockinlining.c, compile.c, compile.h, error.c, eval.c,
eval_intern.h, eval_jump.h, eval_load.c, eval_method.h, eval_safe.h, gc.c, insnhelper.h, insns.def, iseq.c, proc.c, process.c, signal.c, thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h, vm_dump.c, vm_evalbody.ci, vm_macro.def, yarv.h, yarvcore.h, yarvcore.c: change type and macro names: * yarv_*_t -> rb_*_t * yarv_*_struct -> rb_*_struct * yarv_tag -> rb_vm_tag * YARV_* -> RUBY_VM_* * proc.c, vm.c: move functions about env object creation from proc.c to vm.c. * proc.c, yarvcore.c: fix rb_cVM initialization place. * inits.c: change Init_ISeq() order (after Init_VM). * ruby.h, proc.c: change declaration place of rb_cEnv from proc.c to ruby.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def34
1 files changed, 17 insertions, 17 deletions
diff --git a/insns.def b/insns.def
index dab579d4fc..6acd86505b 100644
--- a/insns.def
+++ b/insns.def
@@ -961,7 +961,7 @@ defined
}
break;
case DEFINED_ZSUPER:{
- yarv_iseq_t *ip = GET_ISEQ();
+ rb_iseq_t *ip = GET_ISEQ();
while (ip) {
if (ip->defined_method_id) {
break;
@@ -1011,10 +1011,10 @@ postexe
()
()
{
- yarv_block_t *blockptr;
+ rb_block_t *blockptr;
VALUE proc;
- blockptr = GET_BLOCK_PTR_IN_CFP(GET_CFP());
+ blockptr = RUBY_VM_GET_BLOCK_PTR_IN_CFP(GET_CFP());
blockptr->iseq = blockiseq;
blockptr->proc = 0;
@@ -1164,7 +1164,7 @@ send
NODE *mn;
VALUE recv;
VALUE klass;
- yarv_block_t *blockptr = 0;
+ rb_block_t *blockptr = 0;
num_t num = op_argc;
num_t flag = op_flag;
ID id = op_id;
@@ -1232,8 +1232,8 @@ send
if (0) {
LABEL_IS_SC(start_init_in_super):
{
- yarv_iseq_t *iseq = GET_ISEQ();
- yarv_iseq_t *ip = iseq;
+ rb_iseq_t *iseq = GET_ISEQ();
+ rb_iseq_t *ip = iseq;
num = tmp_num;
flag = VM_CALL_FCALL_BIT;
@@ -1251,12 +1251,12 @@ send
if (ip != ip->local_iseq) {
/* defined by method_defined() */
- yarv_control_frame_t *lcfp = GET_CFP();
+ rb_control_frame_t *lcfp = GET_CFP();
while (lcfp->iseq != ip) {
VALUE *tdfp = GET_PREV_DFP(lcfp->dfp);
while (1) {
- lcfp = YARV_PREVIOUS_CONTROL_FRAME(lcfp);
+ lcfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(lcfp);
if (lcfp->dfp == tdfp) {
break;
}
@@ -1287,7 +1287,7 @@ send
#endif
#endif
macro_eval_invoke_method(recv, klass, id, num, mn, blockptr);
- YARV_CHECK_INTS();
+ RUBY_VM_CHECK_INTS();
}
/**
@@ -1326,8 +1326,8 @@ invokeblock
(...)
(VALUE val) // inc += 1 - num;
{
- yarv_block_t *block = GET_BLOCK_PTR();
- yarv_iseq_t *iseq;
+ rb_block_t *block = GET_BLOCK_PTR();
+ rb_iseq_t *iseq;
int argc = num;
if (GET_ISEQ()->local_iseq->type != ISEQ_TYPE_METHOD || block == 0) {
@@ -1392,7 +1392,7 @@ leave
}
}
- YARV_CHECK_INTS();
+ RUBY_VM_CHECK_INTS();
pop_frame(th);
RESTORE_REGS();
}
@@ -1451,7 +1451,7 @@ throw
}
}
else if (state == TAG_RETURN) {
- yarv_control_frame_t *cfp = GET_CFP();
+ rb_control_frame_t *cfp = GET_CFP();
int is_orphan = 1;
VALUE *dfp = GET_DFP();
@@ -1522,7 +1522,7 @@ jump
()
()
{
- YARV_CHECK_INTS();
+ RUBY_VM_CHECK_INTS();
JUMP(dst);
}
@@ -1538,7 +1538,7 @@ branchif
()
{
if (RTEST(val)) {
- YARV_CHECK_INTS();
+ RUBY_VM_CHECK_INTS();
JUMP(dst);
}
}
@@ -1555,7 +1555,7 @@ branchunless
()
{
if (!RTEST(val)) {
- YARV_CHECK_INTS();
+ RUBY_VM_CHECK_INTS();
JUMP(dst);
}
}
@@ -2394,7 +2394,7 @@ opt_call_native_compiled
()
{
#if __GNUC__ && OPT_USE_JIT_COMPILE
- yarv_iseq_t *iseq = GET_ISEQ();
+ rb_iseq_t *iseq = GET_ISEQ();
void *label = (void *)iseq->jit_compiled;
breakpoint();