summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding/string.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-11-29 10:05:19 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-11-29 12:30:12 -0500
commit6ebcf25de2859b5b6402b7e8b181066c32d0e0bf (patch)
tree3e41dcde69d4ea4eecae954ca0b0ac1a4be12e50 /include/ruby/internal/encoding/string.h
parent14761edbf6ae6e6b8d5339ebceeee1754fb453a4 (diff)
GC guard catch_table_ary in iseq_set_exception_table
The function iseq_set_exception_table allocates memory which can cause a GC compaction to run. Since catch_table_ary is not on the stack, it can be moved, which would make tptr incorrect.
Diffstat (limited to 'include/ruby/internal/encoding/string.h')
0 files changed, 0 insertions, 0 deletions