ruby-changes:69926
From: Adam <ko1@a...>
Date: Thu, 25 Nov 2021 10:23:34 +0900 (JST)
Subject: [ruby-changes:69926] 8bde66167f (master): update YJIT docs to reference RubyVM::YJIT instead of just YJIT
https://git.ruby-lang.org/ruby.git/commit/?id=8bde66167f From 8bde66167fb310b8b4297821e15a9adfa3cb9dd4 Mon Sep 17 00:00:00 2001 From: Adam Hess <HParker@g...> Date: Wed, 24 Nov 2021 17:23:22 -0800 Subject: update YJIT docs to reference RubyVM::YJIT instead of just YJIT [ci skip] --- doc/yjit/yjit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md index 0da6c159114..a56aec652ad 100644 --- a/doc/yjit/yjit.md +++ b/doc/yjit/yjit.md @@ -121,7 +121,7 @@ You can dump statistics about compilation and execution by running YJIT with the https://github.com/ruby/ruby/blob/trunk/doc/yjit/yjit.md#L121 ./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 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/