From 5e39d83fbd560a5151facba10e95889aff84c93e Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Fri, 18 Dec 2020 13:49:53 -0500 Subject: Split out compile_entry() from compile_block() --- ujit_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ujit_iface.c') diff --git a/ujit_iface.c b/ujit_iface.c index e30e3afa3b..85b732e96f 100644 --- a/ujit_iface.c +++ b/ujit_iface.c @@ -233,7 +233,7 @@ rb_ujit_compile_iseq(const rb_iseq_t *iseq) VALUE *encoded = (VALUE *)iseq->body->iseq_encoded; // Compile a block version starting at the first instruction - uint8_t* native_code_ptr = ujit_compile_block(iseq, 0, true); + uint8_t* native_code_ptr = ujit_compile_entry(iseq, 0); if (native_code_ptr) { encoded[0] = (VALUE)native_code_ptr; -- cgit v1.2.3