From 11c1daea172df21af30be24d645040d8de9d461d Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 19 Oct 2020 17:45:43 -0400 Subject: Add to the MicroJIT scraper an example that passes ec --- iseq.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'iseq.c') diff --git a/iseq.c b/iseq.c index 6b8f3d0e2c..d4d5261c3c 100644 --- a/iseq.c +++ b/iseq.c @@ -3495,6 +3495,13 @@ rb_ujit_empty_func(rb_control_frame_t *cfp) return NULL; } +VALUE * +rb_ujit_empty_func_with_ec(rb_control_frame_t *cfp, rb_execution_context_t *ec) +{ + // see rb_ujit_empty_func + return NULL; +} + void rb_iseq_trace_set_all(rb_event_flag_t turnon_events) { -- cgit v1.2.3