summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-12 15:59:49 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-12 15:59:49 +0000
commit8f0a0f4018f8c82815e7afb2ec999089ee2b8fc3 (patch)
treeb5fd3a51216cd206c11d685a2cc602cccdea2098 /compile.c
parent1ca0d427eab8e0470e5382d801501e3dcac05434 (diff)
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
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c1
1 files changed, 1 insertions, 0 deletions
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);