diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-18 07:09:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-18 07:09:27 +0000 |
commit | 40b0dd1ce11393f87c92938417cc79f4dc0ee416 (patch) | |
tree | 1d59247cc1eb20ad4f49166b42b036205856e622 /compile.c | |
parent | 4a23f0695a40e735a2215ea9fbf7e388e384f051 (diff) | |
download | ruby-40b0dd1ce11393f87c92938417cc79f4dc0ee416.tar.gz |
comment for r52633 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -2032,6 +2032,23 @@ iseq_peephole_optimize(rb_iseq_t *iseq, LINK_ELEMENT *list, const int do_tailcal replace_destination(iobj, nobj); } else if (pobj) { + /* + * putnil + * if L1 + * => + * # nothing + * + * putobject true + * if L1 + * => + * jump L1 + * + * putstring ".." + * if L1 + * => + * jump L1 + * + */ int cond; if (pobj->insn_id == BIN(putobject)) { cond = (iobj->insn_id == BIN(branchif) ? |