diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-12-23 14:57:37 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-12-23 16:44:30 -0500 |
| commit | 5b22f14e5366738336ca880d0efaf05b6cf90961 (patch) | |
| tree | 9bc8465795f93f8532ddb6bd05d9b1f241776791 /spec/ruby/core | |
| parent | f4476f0d07c781c906ed1353d8e1be5a7314d6e7 (diff) | |
GC guard the iseq in eval for prism
We need to GC guard the iseq because the code above it malloc memory which
could trigger a GC. Since we only use ISEQ_BODY, the compiler may optimize
out the iseq local variable so we need to GC guard it.
Fixes: http://ci.rvm.jp/results/trunk_asan@ruby-sp1/5484752
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12443
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
