summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-05-05 11:13:54 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-05-05 11:13:54 +0900
commitf1b52d3a8889dbffddadd3e3ccf05fb9a90b18ee (patch)
tree2d727017c2a9229cb10377efa6e33e079842cab6 /compile.c
parentff21e75d32e27a2b362ed53fb471828876b54418 (diff)
* expand tabs.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compile.c b/compile.c
index 7dbf244f36..6135eb09ad 100644
--- a/compile.c
+++ b/compile.c
@@ -4107,13 +4107,13 @@ when_vals(rb_iseq_t *iseq, LINK_ANCHOR *const cond_seq, const NODE *vals,
{
while (vals) {
const NODE *val = vals->nd_head;
- VALUE lit = rb_node_case_when_optimizable_literal(val);
+ VALUE lit = rb_node_case_when_optimizable_literal(val);
if (lit == Qundef) {
only_special_literals = 0;
}
- else if (NIL_P(rb_hash_lookup(literals, lit))) {
- rb_hash_aset(literals, lit, (VALUE)(l1) | 1);
+ else if (NIL_P(rb_hash_lookup(literals, lit))) {
+ rb_hash_aset(literals, lit, (VALUE)(l1) | 1);
}
ADD_INSN(cond_seq, nd_line(val), dup); /* dup target */