summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-10 09:16:00 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-10 09:16:00 +0000
commit481481b81aaca7cc5de3982784f68981335005a7 (patch)
tree1abcb80a1270c8ed47a2a4ab222c1b95f0510812 /iseq.c
parent25c1fd3b9037d9eb39596bb994eeabed812adada (diff)
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/iseq.c b/iseq.c
index 0ec48da585..99e626f8df 100644
--- a/iseq.c
+++ b/iseq.c
@@ -156,7 +156,7 @@ iseq_extract_values(const VALUE *code, size_t pos, iseq_value_itr_t * func, void
{
VALUE op = code[pos + op_no + 1];
if (!SPECIAL_CONST_P(op)) {
- func(data, op);
+ func(data, op);
}
break;
}
@@ -164,7 +164,7 @@ iseq_extract_values(const VALUE *code, size_t pos, iseq_value_itr_t * func, void
{
union iseq_inline_storage_entry *const is = (union iseq_inline_storage_entry *)code[pos + op_no + 1];
if (is->once.value) {
- func(data, is->once.value);
+ func(data, is->once.value);
}
break;
}
@@ -224,12 +224,12 @@ rb_iseq_mark(const rb_iseq_t *iseq)
rb_iseq_each_value(iseq, each_insn_value, NULL);
}
- rb_gc_mark(body->variable.coverage);
+ rb_gc_mark(body->variable.coverage);
rb_gc_mark(body->variable.pc2branchindex);
- rb_gc_mark(body->location.label);
- rb_gc_mark(body->location.base_label);
- rb_gc_mark(body->location.pathobj);
- RUBY_MARK_UNLESS_NULL((VALUE)body->parent_iseq);
+ rb_gc_mark(body->location.label);
+ rb_gc_mark(body->location.base_label);
+ rb_gc_mark(body->location.pathobj);
+ RUBY_MARK_UNLESS_NULL((VALUE)body->parent_iseq);
if (body->param.flags.has_kw && ISEQ_COMPILE_DATA(iseq) == NULL) {
const struct rb_iseq_param_keyword *const keyword = body->param.keyword;
@@ -252,7 +252,7 @@ rb_iseq_mark(const rb_iseq_t *iseq)
const struct iseq_catch_table_entry *entry;
entry = &table->entries[i];
if (entry->iseq) {
- rb_gc_mark((VALUE)entry->iseq);
+ rb_gc_mark((VALUE)entry->iseq);
}
}
}