diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2021-11-04 13:05:41 -0700 |
---|---|---|
committer | <[email protected]> | 2021-11-04 16:05:41 -0400 |
commit | 2421527d6e4737c371bca0cf7e694f8a2a0f923d () | |
tree | 90621ade7e47fab78ce7c885d55aed1c99fdc434 /yjit_iface.h | |
parent | 85b4cf16e2cae0577633c1acb1dc7413d58fcb5a (diff) |
YJIT code pages refactoring for code GC (#5073)
* New code page allocation logic * Fix globals * Fix symbols, yjit asm tests * Make COUNTED_EXIT take a jit argument, so we can eliminate global ocb * Remove extra whitespace * Change block start_pos/end_pos to be pointers instead of uint32_t * Change branch end_pos and start_pos to end_addr, start_addr
Notes: Merged-By: maximecb <[email protected]>
-rw-r--r-- | yjit_iface.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -30,9 +30,9 @@ static const VALUE *yjit_count_side_exit_op(const VALUE *exit_pc); static void yjit_unlink_method_lookup_dependency(block_t *block); static void yjit_block_assumptions_free(block_t *block); -VALUE rb_yjit_code_page_alloc(void); -code_page_t *rb_yjit_code_page_unwrap(VALUE cp_obj); -void rb_yjit_get_cb(codeblock_t *cb, uint8_t *code_ptr); -void rb_yjit_get_ocb(codeblock_t *cb, uint8_t *code_ptr); #endif // #ifndef YJIT_IFACE_H |