summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-16 22:48:23 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-16 22:48:23 +0900
commit11f8c89171ff0b260891dec064cf69d9400a0704 (patch)
treeb10d1713dc541389b77ec6fe2dabf1b35b8720f5 /compile.c
parent44caca11cfa6bea01a1ef738846183f1a56d5658 (diff)
* expand tabs.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/compile.c b/compile.c
index 6351914f7f..928a95b985 100644
--- a/compile.c
+++ b/compile.c
@@ -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:{