diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-05 16:56:53 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:42 -0400 |
commit | 735b3a7748c5dfb1ee5e67962d3b86333fbe5212 (patch) | |
tree | ba7b567b92d9460234addc378c0689f9692d9e4f /yjit.h | |
parent | b242ea87da6fabba04bc515b7bce26dc1ce0199e (diff) |
Tweak mjit_exec() to remove YJIT symbol exports
We were exporting a couple of symbols in yjit.h because they could be
used by code generated by MJIT. We don't want MJIT calling into YJIT
code anyways so let's stop exporting them to libruby.so.
Also adjust indentation and comments in mjit_exec().
Diffstat (limited to 'yjit.h')
-rw-r--r-- | yjit.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -62,10 +62,8 @@ struct rb_yjit_options { bool test_backend; }; -MJIT_SYMBOL_EXPORT_BEGIN bool rb_yjit_enabled_p(void); unsigned rb_yjit_call_threshold(void); -MJIT_SYMBOL_EXPORT_END void rb_yjit_invalidate_all_method_lookup_assumptions(void); void rb_yjit_method_lookup_change(VALUE klass, ID mid); |