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

ruby-changes:61005

From: Kazuki <ko1@a...>
Date: Mon, 4 May 2020 13:31:50 +0900 (JST)
Subject: [ruby-changes:61005] d6389224da (master): Fix pseudo code for NODE_ARYPTN, NODE_HSHPTN

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

From d6389224da5aac0b36299cc6d968837407fdfe2c Mon Sep 17 00:00:00 2001
From: Kazuki Tsujimoto <kazuki@c...>
Date: Mon, 4 May 2020 13:17:45 +0900
Subject: Fix pseudo code for NODE_ARYPTN, NODE_HSHPTN

Due to the change in 3893a8dd42fb3bbd71750648c3c0de118955a6ea,
there is no longer a need to put true/false.

diff --git a/compile.c b/compile.c
index 3c94818..97548b4 100644
--- a/compile.c
+++ b/compile.c
@@ -5635,7 +5635,6 @@ iseq_compile_pattern_each(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *c https://github.com/ruby/ruby/blob/trunk/compile.c#L5635
          *       goto match_failed
          *     end
          *   end
-         *   true
          *   goto matched
          * type_error:
          *   FrozenCore.raise TypeError
@@ -5806,7 +5805,6 @@ iseq_compile_pattern_each(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *c https://github.com/ruby/ruby/blob/trunk/compile.c#L5805
          *       end
          *     end
          *   end
-         *   true
          *   goto matched
          * type_error:
          *   FrozenCore.raise TypeError
-- 
cgit v0.10.2


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

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