summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-28 06:44:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-28 06:44:24 +0000
commite3990633cb2e44f19588c16a436516a8ecae0459 (patch)
treef446eae742ccfc218897ead0a363627ea9727284 /insns.def
parent64f5b6aedc25dc8b6ef086f40d7f3c6cd401ee3e (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 'insns.def')
-rw-r--r--insns.def20
1 files changed, 0 insertions, 20 deletions
diff --git a/insns.def b/insns.def
index bbbac396be..a5d97ad0a4 100644
--- a/insns.def
+++ b/insns.def
@@ -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 */
/**