From 15e87e447379d35f424d5dca0dce8d7032fd2e9d Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 29 Jul 2016 01:52:17 +0000 Subject: * proc.c (env_write): remove unused function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 6c24bbb3e1..15351eb2c5 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) { -- cgit v1.2.3