diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-27 13:42:53 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-30 12:06:42 +0900 |
commit | e9da4f57b35afe40b74c32e8f95e39aaaecc11b5 (patch) | |
tree | a87551ba131eaf0bc849621dad6e84c0278aa7fd | |
parent | 1680bd4e4f63901ff8ab119540850e7e63f1b7a2 (diff) | |
download | ruby-e9da4f57b35afe40b74c32e8f95e39aaaecc11b5.tar.gz |
Adjust indent [ci skip]
-rw-r--r-- | iseq.c | 52 |
1 files changed, 26 insertions, 26 deletions
@@ -151,32 +151,32 @@ iseq_extract_values(VALUE *code, size_t pos, iseq_value_itr_t * func, void *data 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; } } |