Skip to content

Commit

Permalink
Remove MJIT's private constants from docs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Dec 22, 2022
1 parent ad1ce2b commit 9dcee2d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_vm/mjit/c_type.rb
Expand Up @@ -2,7 +2,7 @@
require 'fiddle/pack'
require_relative 'c_pointer'

module RubyVM::MJIT
module RubyVM::MJIT # :nodoc: all
module CType
module Struct
# @param name [String]
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_vm/mjit/compiler.rb
Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion mjit_c.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
# Part of this file is generated by tool/mjit/bindgen.rb.
# Run `make mjit-bindgen` to update code between "MJIT bindgen begin" and "MJIT bindgen end".
module RubyVM::MJIT
module RubyVM::MJIT # :nodoc: all
# This `class << C` section is for calling C functions. For importing variables
# or macros as is, please consider using tool/mjit/bindgen.rb instead.
class << C
Expand Down

0 comments on commit 9dcee2d

Please sign in to comment.