From 8f0a0f4018f8c82815e7afb2ec999089ee2b8fc3 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 12 Dec 2018 15:59:49 +0000 Subject: [PATCH] restore `catch_except_p` flag. * compile.c: we need to restore `catch_except_p` flag at `load_from_binary`. [Bug #15395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/compile.c b/compile.c index 512f6df1a8..5df6fa6248 100644 --- a/compile.c +++ b/compile.c @@ -9142,6 +9142,7 @@ ibf_load_iseq_each(const struct ibf_load *load, rb_iseq_t *iseq, ibf_offset_t of 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);