summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-12-23 14:57:37 -0500
committerPeter Zhu <peter@peterzhu.ca>2024-12-23 16:44:30 -0500
commit5b22f14e5366738336ca880d0efaf05b6cf90961 (patch)
tree9bc8465795f93f8532ddb6bd05d9b1f241776791 /spec/ruby
parentf4476f0d07c781c906ed1353d8e1be5a7314d6e7 (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')
0 files changed, 0 insertions, 0 deletions