ruby-changes:57402
From: Nobuyoshi <ko1@a...>
Date: Fri, 30 Aug 2019 12:07:21 +0900 (JST)
Subject: [ruby-changes:57402] Nobuyoshi Nakada: e9da4f57b3 (master): Adjust indent [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=e9da4f57b3 From e9da4f57b35afe40b74c32e8f95e39aaaecc11b5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 27 Aug 2019 13:42:53 +0900 Subject: Adjust indent [ci skip] diff --git a/iseq.c b/iseq.c index 9154001..1860cb1 100644 --- a/iseq.c +++ b/iseq.c @@ -151,32 +151,32 @@ iseq_extract_values(VALUE *code, size_t pos, iseq_value_itr_t * func, void *data https://github.com/ruby/ruby/blob/trunk/iseq.c#L151 for (op_no = 0; types[op_no]; op_no++) { char type = types[op_no]; switch (type) { - case TS_CDHASH: - case TS_ISEQ: - case TS_VALUE: - { - VALUE op = code[pos + op_no + 1]; - if (!SPECIAL_CONST_P(op)) { - VALUE newop = func(data, op); - if (newop != op) { - code[pos + op_no + 1] = newop; - } - } - break; - } - case TS_ISE: - { - union iseq_inline_storage_entry *const is = (union iseq_inline_storage_entry *)code[pos + op_no + 1]; - if (is->once.value) { - VALUE nv = func(data, is->once.value); - if (is->once.value != nv) { - is->once.value = nv; - } - } - break; - } - default: - break; + case TS_CDHASH: + case TS_ISEQ: + case TS_VALUE: + { + VALUE op = code[pos + op_no + 1]; + if (!SPECIAL_CONST_P(op)) { + VALUE newop = func(data, op); + if (newop != op) { + code[pos + op_no + 1] = newop; + } + } + } + break; + case TS_ISE: + { + union iseq_inline_storage_entry *const is = (union iseq_inline_storage_entry *)code[pos + op_no + 1]; + if (is->once.value) { + VALUE nv = func(data, is->once.value); + if (is->once.value != nv) { + is->once.value = nv; + } + } + } + break; + default: + break; } } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/