Project

General

Profile

« Previous | Next » 

Revision d054904c

Added by eightbitraptor (Matt V-H) over 1 year ago

[Prism] Don't change file after setting it.

This causes the Iseq file names to be wrong, which is affecting
Tracepoint events in certain cases.

because we're taking a pointer to the string and using it in
pm_string_mapped_pointer we also need to RB_GC_GUARD the relevant
Ruby object to ensure it's not moved or swept before the parser has been
free'd.