From e3990633cb2e44f19588c16a436516a8ecae0459 Mon Sep 17 00:00:00 2001
From: ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Fri, 28 Sep 2012 06:44:24 +0000
Subject: * 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
---
 insns.def | 20 --------------------
 1 file changed, 20 deletions(-)

(limited to 'insns.def')

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 */
 
 /**
-- 
cgit v1.2.3

