[前][次][番号順一覧][スレッド一覧]

ruby-changes:43699

From: ko1 <ko1@a...>
Date: Fri, 29 Jul 2016 10:52:20 +0900 (JST)
Subject: [ruby-changes:43699] ko1:r55772 (trunk): * proc.c (env_write): remove unused function.

ko1	2016-07-29 10:52:17 +0900 (Fri, 29 Jul 2016)

  New Revision: 55772

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55772

  Log:
    * proc.c (env_write): remove unused function.

  Modified files:
    trunk/ChangeLog
    trunk/proc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55771)
+++ ChangeLog	(revision 55772)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 29 10:51:34 2016  Koichi Sasada  <ko1@a...>
+
+	* proc.c (env_write): remove unused function.
+
 Fri Jul 29 10:49:52 2016  Koichi Sasada  <ko1@a...>
 
 	* vm_core.h (VM_LOCAL_P): should return an integer value.
Index: proc.c
===================================================================
--- proc.c	(revision 55771)
+++ proc.c	(revision 55772)
@@ -2700,16 +2700,6 @@ localjump_reason(VALUE exc) https://github.com/ruby/ruby/blob/trunk/proc.c#L2700
 
 rb_cref_t *rb_vm_cref_new_toplevel(void); /* vm.c */
 
-static inline void
-env_write(VALUE envval, const VALUE *ep, int index, VALUE v)
-{
-    VM_ASSERT(VM_ENV_ESCAPED_P(ep));
-    VM_ASSERT(envval == VM_ENV_ENVVAL(ep));
-    VM_ASSERT(vm_assert_env(envval));
-
-    RB_OBJ_WRITE(envval, &ep[index], v);
-}
-
 static const rb_env_t *
 env_clone(const rb_env_t *env, const rb_cref_t *cref)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]