summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-12-22 11:35:45 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-22 11:35:46 -0800
commit9dcee2d80ee995e11b0fd437d4a94930ccb6db67 (patch)
treea67d2768251f14b8b32315d1fc97dffa9810ffc0 /lib
parentad1ce2b7b6034688bfb171b6fbc54bc9e3ffa54c (diff)
Remove MJIT's private constants from docs [ci skip]
Diffstat (limited to 'lib')
-rw-r--r--lib/ruby_vm/mjit/c_pointer.rb2
-rw-r--r--lib/ruby_vm/mjit/c_type.rb2
-rw-r--r--lib/ruby_vm/mjit/compiler.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/ruby_vm/mjit/c_pointer.rb b/lib/ruby_vm/mjit/c_pointer.rb
index ee0be54a3c..a92c2140ae 100644
--- a/lib/ruby_vm/mjit/c_pointer.rb
+++ b/lib/ruby_vm/mjit/c_pointer.rb
@@ -1,4 +1,4 @@
-module RubyVM::MJIT
+module RubyVM::MJIT # :nodoc: all
# Every class under this namespace is a pointer. Even if the type is
# immediate, it shouldn't be dereferenced until `*` is called.
module CPointer
diff --git a/lib/ruby_vm/mjit/c_type.rb b/lib/ruby_vm/mjit/c_type.rb
index 9e45d8d41c..9c965ad2fb 100644
--- a/lib/ruby_vm/mjit/c_type.rb
+++ b/lib/ruby_vm/mjit/c_type.rb
@@ -2,7 +2,7 @@ require 'fiddle'
require 'fiddle/pack'
require_relative 'c_pointer'
-module RubyVM::MJIT
+module RubyVM::MJIT # :nodoc: all
module CType
module Struct
# @param name [String]
diff --git a/lib/ruby_vm/mjit/compiler.rb b/lib/ruby_vm/mjit/compiler.rb
index fae51d6114..3ef3babf66 100644
--- a/lib/ruby_vm/mjit/compiler.rb
+++ b/lib/ruby_vm/mjit/compiler.rb
@@ -13,7 +13,7 @@
# DISPATCH_ORIGINAL_INSN(): expanded in _mjit_compile_insn.erb
# THROW_EXCEPTION(): specially defined for JIT
# RESTORE_REGS(): specially defined for `leave`
-class RubyVM::MJIT::Compiler
+class RubyVM::MJIT::Compiler # :nodoc: all
C = RubyVM::MJIT.const_get(:C, false)
INSNS = RubyVM::MJIT.const_get(:INSNS, false)
UNSUPPORTED_INSNS = [