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

ruby-changes:60651

From: Nobuyoshi <ko1@a...>
Date: Sat, 4 Apr 2020 12:40:11 +0900 (JST)
Subject: [ruby-changes:60651] 11fa1dcc23 (master): Also scan `rescue` clauses

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

From 11fa1dcc23264c7c28caca03c2c7446fe55df871 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 4 Apr 2020 12:37:51 +0900
Subject: Also scan `rescue` clauses


diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb
index 837f56d..a100a53 100644
--- a/tool/mk_builtin_loader.rb
+++ b/tool/mk_builtin_loader.rb
@@ -36,7 +36,7 @@ def collect_builtin base, iseq_ary, name, bs, inlines https://github.com/ruby/ruby/blob/trunk/tool/mk_builtin_loader.rb#L36
   else
   end
 
-  code = iseq_ary[13]
+  code = iseq_ary[13] + iseq_ary[12]
   params = iseq_ary[10]
   prev_insn = nil
   lineno = nil
-- 
cgit v0.10.2


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

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