[PRISM] Enable SCRIPT_COMPILED tracepoint event

This commit is contained in:
Kevin Newton 2024-04-04 14:33:10 -04:00
parent 3efc1c36f2
commit 48c2ffe980
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,2 @@
exclude(:test_return, "unknown")
exclude(:test_return2, "unknown")
exclude(:test_script_compiled, "unknown")

View File

@ -1756,7 +1756,9 @@ pm_eval_make_iseq(VALUE src, VALUE fname, int line,
ruby_xfree(prev);
prev = next;
}
pm_parse_result_free(&result);
rb_exec_event_hook_script_compiled(GET_EC(), iseq, src);
return iseq;
}