зеркало из https://github.com/github/ruby.git
strip trailing spaces [ci skip]
This commit is contained in:
Родитель
5d97bdc2dc
Коммит
799253dc46
|
@ -1624,7 +1624,7 @@ access_outer_variables(const rb_iseq_t *iseq, int level, ID id, bool write)
|
|||
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);
|
||||
|
|
2
iseq.c
2
iseq.c
|
@ -607,7 +607,7 @@ prepare_iseq_build(rb_iseq_t *iseq,
|
|||
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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче