From 8bde66167fb310b8b4297821e15a9adfa3cb9dd4 Mon Sep 17 00:00:00 2001 From: Adam Hess Date: Wed, 24 Nov 2021 17:23:22 -0800 Subject: [PATCH] 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 0da6c15911..a56aec652a 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 ./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