mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Assert everything is compiled in test_zjit (https://github.com/Shopify/zjit/pull/40)
* Assert everything is compiled in test_zjit * Update a comment on rb_zjit_assert_compiles Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> * Add a comment about assert_compiles * Actually use pipe_fd --------- Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
This commit is contained in:
parent
d2115562b9
commit
33a052486b
Notes:
git
2025-04-18 13:48:20 +00:00
12 changed files with 177 additions and 53 deletions
6
zjit.rb
Normal file
6
zjit.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
module RubyVM::ZJIT
|
||||
# Assert that any future ZJIT compilation will return a function pointer
|
||||
def self.assert_compiles
|
||||
Primitive.rb_zjit_assert_compiles
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue