From e9da4f57b35afe40b74c32e8f95e39aaaecc11b5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 27 Aug 2019 13:42:53 +0900 Subject: [PATCH] Adjust indent [ci skip] --- iseq.c | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/iseq.c b/iseq.c index 9154001dc9..1860cb12f9 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 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; } }