summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-29 01:52:17 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-29 01:52:17 +0000
commit26de0b131e57952d29664de4453e2f04ec3df2bc (patch)
tree8f0d6794c8e0b2fa6f246e479eb41b28af737cec
parent7a1d1163ad9a4e1481d340668582072d077adcc6 (diff)
* proc.c (env_write): remove unused function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--proc.c10
2 files changed, 4 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index c615ded..4e03844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jul 29 10:51:34 2016 Koichi Sasada <ko1@atdot.net>
+
+ * proc.c (env_write): remove unused function.
+
Fri Jul 29 10:49:52 2016 Koichi Sasada <ko1@atdot.net>
* vm_core.h (VM_LOCAL_P): should return an integer value.
diff --git a/proc.c b/proc.c
index 6c24bbb..15351eb 100644
--- a/proc.c
+++ b/proc.c
@@ -2700,16 +2700,6 @@ localjump_reason(VALUE exc)
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)
{