summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index 58eabf37ac..ca73e4cb59 100644
--- a/vm.c
+++ b/vm.c
@@ -280,9 +280,6 @@ static int
collect_local_variables_in_env(rb_env_t *env, VALUE ary)
{
int i;
- if (env->block.lfp == env->block.dfp) {
- return 0;
- }
for (i = 0; i < env->block.iseq->local_table_size; i++) {
ID lid = env->block.iseq->local_table[i];
if (lid) {