summaryrefslogtreecommitdiff
path: root/insnhelper.ci
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-05 10:49:45 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-05 10:49:45 +0000
commit0d0ef6eccc50ed95d8babcf5381426c70c4d4b30 (patch)
tree64febf0ca7b2574ab1d65942e97c0e14a5194389 /insnhelper.ci
parent6a858e554c646c52f05f38b876e97322302c5c3d (diff)
* yarvcore.h: rename rb_control_frame_t#magic to flag.
* vm.h: add VM_FRAME_TYPE() and VM_FRAME_FLAG(). * cont.c, insnhelper.ci, insns.def, vm.c, vm_dump.c, vm_evalbody.ci, yarvcore.c: apply above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insnhelper.ci')
-rw-r--r--insnhelper.ci4
1 files changed, 2 insertions, 2 deletions
diff --git a/insnhelper.ci b/insnhelper.ci
index 73ea6ee09a..f3665be14f 100644
--- a/insnhelper.ci
+++ b/insnhelper.ci
@@ -17,7 +17,7 @@
/* control stack frame */
static inline rb_control_frame_t *
-vm_push_frame(rb_thread_t *th, rb_iseq_t *iseq, VALUE magic,
+vm_push_frame(rb_thread_t *th, rb_iseq_t *iseq, VALUE type,
VALUE self, VALUE specval, VALUE *pc,
VALUE *sp, VALUE *lfp, int local_size)
{
@@ -44,7 +44,7 @@ vm_push_frame(rb_thread_t *th, rb_iseq_t *iseq, VALUE magic,
cfp->sp = sp + 1;
cfp->bp = sp + 1;
cfp->iseq = iseq;
- cfp->magic = magic;
+ cfp->flag = VM_FRAME_FLAG(type);
cfp->self = self;
cfp->lfp = lfp;
cfp->dfp = dfp;