diff options
author | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-06-16 22:48:23 +0900 |
---|---|---|
committer | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-06-16 22:48:23 +0900 |
commit | 11f8c89171ff0b260891dec064cf69d9400a0704 (patch) | |
tree | b10d1713dc541389b77ec6fe2dabf1b35b8720f5 /compile.c | |
parent | 44caca11cfa6bea01a1ef738846183f1a56d5658 (diff) | |
download | ruby-11f8c89171ff0b260891dec064cf69d9400a0704.tar.gz |
* expand tabs.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -6859,22 +6859,22 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, in if (node->nd_vid) { ADD_INSN1(ret, line, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CONST_BASE)); - base_id = node->nd_vid; + base_id = node->nd_vid; } else { compile_cpath(ret, iseq, node->nd_else); - base_id = node->nd_else->nd_mid; + base_id = node->nd_else->nd_mid; } - CHECK(COMPILE(ret, "lvalue", node->nd_value)); + CHECK(COMPILE(ret, "lvalue", node->nd_value)); - if (popped) { + if (popped) { ADD_INSN(ret, line, swap); - } else { - ADD_INSN(ret, line, dup); + } else { + ADD_INSN(ret, line, dup); ADD_INSN1(ret, line, reverse, INT2FIX(3)); - } + } - ADD_INSN1(ret, line, setconstant, ID2SYM(base_id)); + ADD_INSN1(ret, line, setconstant, ID2SYM(base_id)); break; } case NODE_CVASGN:{ |