diff options
author | Alan Wu <[email protected]> | 2023-03-24 12:36:06 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-24 12:36:06 -0400 |
commit | 35e9b5348d91eff13d2bdc487003f46a19586d42 (patch) | |
tree | 46d4d04a80a98cb68ffdcc132f8c87c2204ae361 /yjit.c | |
parent | 7149f5763ea121b71ad0763cd8554bc663d8eedd (diff) |
YJIT: Constify EC to avoid an `as` pointer cast (#7591)
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -335,7 +335,7 @@ rb_yjit_reserve_addr_space(uint32_t mem_size) // Is anyone listening for :c_call and :c_return event currently? bool -rb_c_method_tracing_currently_enabled(rb_execution_context_t *ec) +rb_c_method_tracing_currently_enabled(const rb_execution_context_t *ec) { rb_event_flag_t tracing_events; if (rb_multi_ractor_p()) { |