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

ruby-changes:54145

From: ko1 <ko1@a...>
Date: Thu, 13 Dec 2018 00:59:53 +0900 (JST)
Subject: [ruby-changes:54145] ko1:r66366 (trunk): restore `catch_except_p` flag.

ko1	2018-12-13 00:59:49 +0900 (Thu, 13 Dec 2018)

  New Revision: 66366

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66366

  Log:
    restore `catch_except_p` flag.
    
    * compile.c: we need to restore `catch_except_p` flag at
      `load_from_binary`. [Bug #15395]

  Modified files:
    trunk/compile.c
Index: compile.c
===================================================================
--- compile.c	(revision 66365)
+++ compile.c	(revision 66366)
@@ -9142,6 +9142,7 @@ ibf_load_iseq_each(const struct ibf_load https://github.com/ruby/ruby/blob/trunk/compile.c#L9142
     load_body->location.first_lineno = body->location.first_lineno;
     load_body->location.node_id = body->location.node_id;
     load_body->location.code_location = body->location.code_location;
+    load_body->catch_except_p = body->catch_except_p;
 
     load_body->is_entries           = ZALLOC_N(union iseq_inline_storage_entry, body->is_size);
     load_body->ci_entries           = ibf_load_ci_entries(load, body);

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

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