summaryrefslogtreecommitdiff
path: root/rjit.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:27:07 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:28:55 -0700
commitd189f8d870aee69e43697415a4840a4d9cdf5a62 (patch)
treed62ad75306eb9089c3e36d4441b4de1be1dace6f /rjit.c
parent4e440d6990a1095149a83662f1238d31047c1032 (diff)
RJIT: Prefix rjit_options with rb_
Diffstat (limited to 'rjit.c')
-rw-r--r--rjit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rjit.c b/rjit.c
index 3137ba0095..b9f11a0800 100644
--- a/rjit.c
+++ b/rjit.c
@@ -63,7 +63,7 @@
// A copy of RJIT portion of MRI options since RJIT initialization. We
// need them as RJIT threads still can work when the most MRI data were
// freed.
-struct rjit_options rb_rjit_opts;
+struct rb_rjit_options rb_rjit_opts;
// true if RJIT is enabled.
bool rb_rjit_enabled = false;
@@ -112,7 +112,7 @@ VALUE rb_rjit_line_samples = 0;
opt_match(s, l, name) && (*(s) ? 1 : (rb_raise(rb_eRuntimeError, "--rjit-" name " needs an argument"), 0))
void
-rb_rjit_setup_options(const char *s, struct rjit_options *rjit_opt)
+rb_rjit_setup_options(const char *s, struct rb_rjit_options *rjit_opt)
{
const size_t l = strlen(s);
if (l == 0) {
@@ -384,7 +384,7 @@ rb_rjit_branch_stub_hit(VALUE branch_stub, int sp_offset, int target0_p)
}
void
-rb_rjit_init(const struct rjit_options *opts)
+rb_rjit_init(const struct rb_rjit_options *opts)
{
VM_ASSERT(rb_rjit_enabled);