aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-08 08:21:07 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-08 08:21:07 +0000
commit1881ef71ddf9df567cb97ff0c3b4b403d64d2010 (patch)
tree4133d3187ea216692013cfb2e59b396939ce8f07 /vm_core.h
parenta5695b1ff2bf38d2c79670ac4c03add51dfb56a0 (diff)
downloadruby-1881ef71ddf9df567cb97ff0c3b4b403d64d2010.tar.gz
* vm_core.h: remove rb_call_info_t::blockiseq.
* insns.def (send, invokesuper): pass blockiseq explicitly. * compile.c: catch up this fix. * iseq.c: ditto. * vm_args.c: ditto. * iseq.c (ISEQ_MINOR_VERSION): 2->3 because instruction spec was changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/vm_core.h b/vm_core.h
index 2a427534a8..bdfaf3a900 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -194,10 +194,8 @@ enum method_missing_reason {
typedef struct rb_call_info_struct {
/* fixed at compile time */
ID mid;
-
unsigned int flag;
int orig_argc;
- const rb_iseq_t *blockiseq;
const rb_call_info_kw_arg_t *kw_arg;
/* inline cache: keys */
@@ -839,7 +837,7 @@ enum vm_check_match_type {
#define VM_CALL_TAILCALL (0x01 << 5) /* located at tail position */
#define VM_CALL_SUPER (0x01 << 6) /* super */
#define VM_CALL_OPT_SEND (0x01 << 7) /* internal flag */
-#define VM_CALL_ARGS_SIMPLE (0x01 << 8) /* (ci->flag & (SPLAT|BLOCKARG)) && ci->blockiseq == NULL && ci->kw_arg == NULL */
+#define VM_CALL_ARGS_SIMPLE (0x01 << 8) /* (ci->flag & (SPLAT|BLOCKARG)) && blockiseq == NULL && ci->kw_arg == NULL */
enum vm_special_object_type {
VM_SPECIAL_OBJECT_VMCORE = 1,