diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2020-12-18 13:49:53 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:26 -0400 |
commit | 5e39d83fbd560a5151facba10e95889aff84c93e (patch) | |
tree | 90da97ad80b303e805b0c1fe2c8423d3932c394d /ujit_iface.c | |
parent | 4592ef9d76c5ef1bf7f99119a126a1b700c88f1f (diff) |
Split out compile_entry() from compile_block()
Diffstat (limited to 'ujit_iface.c')
-rw-r--r-- | ujit_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |