ruby-changes:63476
From: Nobuyoshi <ko1@a...>
Date: Fri, 30 Oct 2020 12:27:29 +0900 (JST)
Subject: [ruby-changes:63476] 799253dc46 (master): strip trailing spaces [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=799253dc46 From 799253dc46e96518687dcd4fdca42582251ccffe Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 30 Oct 2020 12:26:59 +0900 Subject: strip trailing spaces [ci skip] diff --git a/compile.c b/compile.c index e0d4bc5..bf2c4f8 100644 --- a/compile.c +++ b/compile.c @@ -1624,7 +1624,7 @@ access_outer_variables(const rb_iseq_t *iseq, int level, ID id, bool write) https://github.com/ruby/ruby/blob/trunk/compile.c#L1624 if (!ovs) { ovs = iseq->body->outer_variables = rb_id_table_create(8); } - + if (rb_id_table_lookup(iseq->body->outer_variables, id, &val)) { if (write && !val) { rb_id_table_insert(iseq->body->outer_variables, id, Qtrue); diff --git a/iseq.c b/iseq.c index 449d338..36cbe1d 100644 --- a/iseq.c +++ b/iseq.c @@ -607,7 +607,7 @@ prepare_iseq_build(rb_iseq_t *iseq, https://github.com/ruby/ruby/blob/trunk/iseq.c#L607 ISEQ_COMPILE_DATA(iseq)->option = option; ISEQ_COMPILE_DATA(iseq)->ivar_cache_table = NULL; ISEQ_COMPILE_DATA(iseq)->builtin_function_table = GET_VM()->builtin_function_table; - + if (option->coverage_enabled) { VALUE coverages = rb_get_coverages(); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/