summaryrefslogtreecommitdiff
path: root/mjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-12-08 23:41:12 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-08 23:43:09 -0800
commit8893913ae6da33662201d0a0e6ba2d37f50630ca (patch)
treed079552cf28d28e9d91c0ba95994a9119ca31abc /mjit_c.rb
parentc668eaff1e5e775c9fa07c9cfa65aff0b3e11872 (diff)
MJIT: Clarify jit_unit is only for MJIT
Diffstat (limited to 'mjit_c.rb')
-rw-r--r--mjit_c.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_c.rb b/mjit_c.rb
index 9eefd1660a..91374a3599 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -526,7 +526,7 @@ module RubyVM::MJIT
mandatory_only_iseq: [CType::Pointer.new { self.rb_iseq_t }, Primitive.cexpr!("OFFSETOF((*((struct rb_iseq_constant_body *)NULL)), mandatory_only_iseq)")],
jit_func: [CType::Immediate.parse("void *"), Primitive.cexpr!("OFFSETOF((*((struct rb_iseq_constant_body *)NULL)), jit_func)")],
total_calls: [CType::Immediate.parse("unsigned long"), Primitive.cexpr!("OFFSETOF((*((struct rb_iseq_constant_body *)NULL)), total_calls)")],
- jit_unit: [CType::Pointer.new { self.rb_mjit_unit }, Primitive.cexpr!("OFFSETOF((*((struct rb_iseq_constant_body *)NULL)), jit_unit)")],
+ mjit_unit: [CType::Pointer.new { self.rb_mjit_unit }, Primitive.cexpr!("OFFSETOF((*((struct rb_iseq_constant_body *)NULL)), mjit_unit)")],
)
end