Skip to content

Commit

Permalink
[PRISM] Enable SCRIPT_COMPILED tracepoint event
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Apr 4, 2024
1 parent 3efc1c3 commit 48c2ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/.excludes-prism/TestSetTraceFunc.rb
@@ -1,3 +1,2 @@
exclude(:test_return, "unknown")
exclude(:test_return2, "unknown")
exclude(:test_script_compiled, "unknown")
2 changes: 2 additions & 0 deletions vm_eval.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 48c2ffe

Please sign in to comment.