diff options
author | Takashi Kokubun <[email protected]> | 2025-02-14 17:49:53 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:52:58 +0900 |
commit | 562c35a560e2f99b9ab6b4ff352e4cf7a73f050e (patch) | |
tree | 1700951076720a166a4e136fa610cffa1e9ba8b8 /zjit.c | |
parent | 53bee25068d11877b034af53797cf6e5d3d8e2be (diff) |
Resurrect asm comment support
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
Diffstat (limited to 'zjit.c')
-rw-r--r-- | zjit.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -156,6 +156,18 @@ rb_zjit_reserve_addr_space(uint32_t mem_size) #endif } +unsigned long +rb_RSTRING_LEN(VALUE str) +{ + return RSTRING_LEN(str); +} + +char * +rb_RSTRING_PTR(VALUE str) +{ + return RSTRING_PTR(str); +} + void rb_zjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception) { |