diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2020-12-10 16:59:13 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:26 -0400 |
commit | 20f5b7426e839c90819f223c1a30992fd8d4023c (patch) | |
tree | c6da75c2831ead41fd3d93f46d5ce8bc3ff1c9c5 /ujit_iface.c | |
parent | f7717b1d463548414e607498e84815ac641ce3dc (diff) |
Start implementing BBV primitives
Diffstat (limited to 'ujit_iface.c')
-rw-r--r-- | ujit_iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ujit_iface.c b/ujit_iface.c index ac541b7cdc..e30e3afa3b 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); + uint8_t* native_code_ptr = ujit_compile_block(iseq, 0, true); if (native_code_ptr) { encoded[0] = (VALUE)native_code_ptr; @@ -253,7 +253,7 @@ rb_ujit_init(void) rb_ujit_enabled = true; - // Initialize ujit codegen + ujit_init_core(); ujit_init_codegen(); // Initialize the GC hooks |