diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-28 06:44:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-28 06:44:24 +0000 |
commit | e3990633cb2e44f19588c16a436516a8ecae0459 (patch) | |
tree | f446eae742ccfc218897ead0a363627ea9727284 /node.h | |
parent | 64f5b6aedc25dc8b6ef086f40d7f3c6cd401ee3e (diff) |
* insns.def (opt_checkenv): remove unused instruction `opt_checkenv'.
* compile.c (iseq_compile_each): ditto.
* node.h: remove unused node `NODE_OPTBLOCK'.
* ext/objspace/objspace.c, gc.c (gc_mark_children): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -230,8 +230,6 @@ enum node_type { #define NODE_PRELUDE NODE_PRELUDE NODE_LAMBDA, #define NODE_LAMBDA NODE_LAMBDA - NODE_OPTBLOCK, -#define NODE_OPTBLOCK NODE_OPTBLOCK NODE_LAST #define NODE_LAST NODE_LAST }; @@ -456,7 +454,6 @@ typedef struct RNode { #define NEW_BMETHOD(b) NEW_NODE(NODE_BMETHOD,0,0,b) #define NEW_ATTRASGN(r,m,a) NEW_NODE(NODE_ATTRASGN,r,m,a) #define NEW_PRELUDE(p,b) NEW_NODE(NODE_PRELUDE,p,b,0) -#define NEW_OPTBLOCK(a) NEW_NODE(NODE_OPTBLOCK,a,0,0) #define NEW_MEMO(a,b,c) NEW_NODE(NODE_MEMO,a,b,c) #define roomof(x, y) ((sizeof(x) + sizeof(y) - 1) / sizeof(y)) |