From 4d426e28d2cbbc09208987c6cf86180ea3ba3522 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Mon, 18 Mar 2019 16:32:48 +0000 Subject: Resurrect r67287 and r67288 I noticed that r67287 was illegal because memory allocated by `alloca` was used after the stack is expired. So I just replaced that with `malloc` and `free` for now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- mjit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mjit.h') diff --git a/mjit.h b/mjit.h index 57d39987e5..611d727307 100644 --- a/mjit.h +++ b/mjit.h @@ -64,7 +64,7 @@ extern void mjit_add_iseq_to_process(const rb_iseq_t *iseq); extern VALUE mjit_wait_call(rb_execution_context_t *ec, struct rb_iseq_constant_body *body); RUBY_SYMBOL_EXPORT_END -extern bool mjit_compile(FILE *f, const struct rb_iseq_constant_body *body, const char *funcname, struct rb_call_cache *cc_entries, union iseq_inline_storage_entry *is_entries); +extern bool mjit_compile(FILE *f, const rb_iseq_t *iseq, const char *funcname); extern void mjit_init(struct mjit_options *opts); extern void mjit_postponed_job_register_start_hook(void); extern void mjit_postponed_job_register_finish_hook(void); -- cgit v1.2.3