summaryrefslogtreecommitdiff
path: root/mjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-14 23:38:52 -0800
committerGitHub <noreply@github.com>2022-11-14 23:38:52 -0800
commitd15d1c01c28f63888475f8016adbc8b4f982b573 (patch)
tree81db7a029619646885607483de43f39303b74fbe /mjit_c.rb
parentc75de1e3304e804be9c073940f396c8a506a005f (diff)
Rename --mjit-min-calls to --mjit-call-threshold (#6731)
for consistency with YJIT
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
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 322a8f15cf..05ddfae468 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -330,7 +330,7 @@ module RubyVM::MJIT
debug: [self._Bool, Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), debug)")],
debug_flags: [CType::Pointer.new { CType::Immediate.parse("char") }, Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), debug_flags)")],
wait: [self._Bool, Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), wait)")],
- min_calls: [CType::Immediate.parse("unsigned int"), Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), min_calls)")],
+ call_threshold: [CType::Immediate.parse("unsigned int"), Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), call_threshold)")],
verbose: [CType::Immediate.parse("int"), Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), verbose)")],
max_cache_size: [CType::Immediate.parse("int"), Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), max_cache_size)")],
pause: [self._Bool, Primitive.cexpr!("OFFSETOF((*((struct mjit_options *)NULL)), pause)")],