We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0035c98 commit fa5a095Copy full SHA for fa5a095
template/fake.rb.in
@@ -43,8 +43,8 @@ class Object
43
elsif RubyVM.const_defined?(:YJIT) && RubyVM::YJIT.enabled?
44
options << ' +YJIT'
45
end
46
- if GC.const_defined?(:MMTk)
47
- options << ' +MMTk'
+ if defined?(GC::MMTk.enabled?) && GC::MMTk.enabled?
+ options << " +MMTk(#{GC::MMTk.plan_name})"
48
49
RUBY_DESCRIPTION = (<%=arg['RUBY_DESCRIPTION_PRE'].inspect%> + options.join('') + <%=arg['RUBY_DESCRIPTION_POST'].inspect%>).freeze
50
0 commit comments