mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
This commit is contained in:
parent
98ee63693d
commit
a8d4dc287f
1 changed files with 2 additions and 2 deletions
4
iseq.c
4
iseq.c
|
@ -2575,7 +2575,7 @@ iseq_data_to_ary(const rb_iseq_t *iseq)
|
||||||
if (sym_top == 0) {
|
if (sym_top == 0) {
|
||||||
int i;
|
int i;
|
||||||
for (i=0; i<numberof(insn_syms); i++) {
|
for (i=0; i<numberof(insn_syms); i++) {
|
||||||
insn_syms[i] = rb_intern(insn_name(i));
|
insn_syms[i] = rb_intern(insn_name(i));
|
||||||
}
|
}
|
||||||
INIT_SYMBOL(top);
|
INIT_SYMBOL(top);
|
||||||
INIT_SYMBOL(method);
|
INIT_SYMBOL(method);
|
||||||
|
@ -2671,7 +2671,7 @@ iseq_data_to_ary(const rb_iseq_t *iseq)
|
||||||
VALUE *nseq = seq + len - 1;
|
VALUE *nseq = seq + len - 1;
|
||||||
VALUE ary = rb_ary_new2(len);
|
VALUE ary = rb_ary_new2(len);
|
||||||
|
|
||||||
rb_ary_push(ary, ID2SYM(insn_syms[insn%numberof(insn_syms)]));
|
rb_ary_push(ary, ID2SYM(insn_syms[insn%numberof(insn_syms)]));
|
||||||
for (j=0; j<len-1; j++, seq++) {
|
for (j=0; j<len-1; j++, seq++) {
|
||||||
switch (insn_op_type(insn, j)) {
|
switch (insn_op_type(insn, j)) {
|
||||||
case TS_OFFSET: {
|
case TS_OFFSET: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue