[前][次][番号順一覧][スレッド一覧]

ruby-changes:56521

From: Yusuke <ko1@a...>
Date: Mon, 15 Jul 2019 08:00:08 +0900 (JST)
Subject: [ruby-changes:56521] Yusuke Endoh: c9a59f491d (master): Add a /* fall through */ comment

https://git.ruby-lang.org/ruby.git/commit/?id=c9a59f491d

From c9a59f491d0851c30e2f371eafcec486ce8ba27b Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 15 Jul 2019 07:59:11 +0900
Subject: Add a /* fall through */ comment


diff --git a/compile.c b/compile.c
index c2f14a9..ddb0815 100644
--- a/compile.c
+++ b/compile.c
@@ -3135,6 +3135,7 @@ iseq_peephole_optimize(rb_iseq_t *iseq, LINK_ELEMENT *list, const int do_tailcal https://github.com/ruby/ruby/blob/trunk/compile.c#L3135
 		    break;
 		  case BIN(leave):
 		    piobj = iobj;
+                    /* fall through */
 		  default:
 		    next = NULL;
 		    break;
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]