From 96cec6b27741cbdeb51ea3acdeba0e813d51035f Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sun, 14 Jul 2019 19:39:57 -0700 Subject: Document that RubyVM::InstructionSequence methods are implementation and version dependent Fixes [Bug #6785] --- iseq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'iseq.c') diff --git a/iseq.c b/iseq.c index 776576a52b..418d273012 100644 --- a/iseq.c +++ b/iseq.c @@ -3456,7 +3456,9 @@ succ_index_lookup(const struct succ_index_table *sd, int x) * Document-class: RubyVM::InstructionSequence * * The InstructionSequence class represents a compiled sequence of - * instructions for the Ruby Virtual Machine. + * instructions for the Ruby Virtual Machine. Not all implementations of Ruby + * may implement this class, and for the implementations that implement it, + * the methods defined and behavior of the methods can change in any version. * * With it, you can get a handle to the instructions that make up a method or * a proc, compile strings of Ruby code down to VM instructions, and -- cgit v1.2.3