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 /insns.def | |
parent | 64f5b6aedc25dc8b6ef086f40d7f3c6cd401ee3e (diff) | |
download | ruby-e3990633cb2e44f19588c16a436516a8ecae0459.tar.gz |
* 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 'insns.def')
-rw-r--r-- | insns.def | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -1305,26 +1305,6 @@ opt_case_dispatch } } -/** - @c optimize - @e check environment - @j 将来の拡張用。 - */ -DEFINE_INSN -opt_checkenv -() -() -() -{ - if (vm_base_ptr(reg_cfp) != GET_EP() + 1) { - VALUE *ep = vm_base_ptr(reg_cfp) - 1; - /* TODO: copy env and clean stack at creating env? */ - *ep = *GET_EP(); - SET_EP(ep); - } -} - - /** simple functions */ /** |