update YJIT docs to reference RubyVM::YJIT instead of just YJIT
[ci skip]
This commit is contained in:
parent
635efa594a
commit
8bde66167f
Notes:
git
2021-11-25 10:23:45 +09:00
Merged: https://github.com/ruby/ruby/pull/5171 Merged-By: XrXr
@ -121,7 +121,7 @@ You can dump statistics about compilation and execution by running YJIT with the
|
||||
./miniruby --yjit-stats myscript.rb
|
||||
```
|
||||
|
||||
The machine code generated for a given method can be printed by adding `puts YJIT.disasm(method(:method_name))` to a Ruby script. Note that no code will be generated if the method is not compiled.
|
||||
The machine code generated for a given method can be printed by adding `puts RubyVM::YJIT.disasm(method(:method_name))` to a Ruby script. Note that no code will be generated if the method is not compiled.
|
||||
|
||||
|
||||
### Command-Line Options
|
||||
|
Loading…
x
Reference in New Issue
Block a user