aboutsummaryrefslogtreecommitdiffstats
path: root/internal/re.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-11-30 14:47:09 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-12-01 15:04:31 -0500
commit80ea7fbad871b2222b16af1bd9f39e1f1828bbd4 (patch)
treea2cb0155f9ad11b4a8f852efffffa20390e6060c /internal/re.h
parent0ed55bf09713299201caec3ba9d9ef7ba6e8526f (diff)
downloadruby-80ea7fbad871b2222b16af1bd9f39e1f1828bbd4.tar.gz
Pin embedded shared strings
Embedded shared strings cannot be moved because strings point into the slot of the shared string. There may be code using the RSTRING_PTR on the stack, which would pin the string but not pin the shared string, causing it to move.
Diffstat (limited to 'internal/re.h')
0 files changed, 0 insertions, 0 deletions