From 158574d9b1b39edc5b5eff4046d0f3568b6b8c4f Mon Sep 17 00:00:00 2001 From: kares Date: Tue, 15 Aug 2017 12:25:13 +0200 Subject: [PATCH] deprecate (no longer used anywhere) helper module JRuby::IR --- core/src/main/ruby/jruby/jruby.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/ruby/jruby/jruby.rb b/core/src/main/ruby/jruby/jruby.rb index 0be0ebe0cd3..c74b1b4a270 100644 --- a/core/src/main/ruby/jruby/jruby.rb +++ b/core/src/main/ruby/jruby/jruby.rb @@ -82,8 +82,8 @@ def compile(content = nil, filename = DEFAULT_FILENAME, extra_position_info = fa end end - # NOTE: This is not a public API and is subject to change at our whim - # @private + # NOTE: This is not a public API and is subject to change at our whim. + # @private no longer used - to be removed module IR def self.debug=(value) org.jruby.RubyInstanceConfig.IR_DEBUG = !!value @@ -109,6 +109,7 @@ def self.visualize org.jruby.RubyInstanceConfig.IR_VISUALIZER end end + deprecate_constant :IR class CompiledScript