1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* benchmark/gc/gcbench.rb: check GC::OPTS availability

for not MRI 2.1.0.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2013-12-19 01:49:59 +00:00
parent 3f8deb966c
commit 2ad4a1600b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Dec 19 10:48:37 2013 Koichi Sasada <ko1@atdot.net>
* benchmark/gc/gcbench.rb: check GC::OPTS availability
for not MRI 2.1.0.
Thu Dec 19 03:10:30 2013 Aman Gupta <ruby@tmm1.net>
* gc.c (heap_get_freeobj): remove redundant assignment. heap->freelist

View file

@ -34,7 +34,7 @@ end
pp GC.stat
puts "#{RUBY_DESCRIPTION} #{GC::OPTS.inspect}"
puts "#{RUBY_DESCRIPTION} #{GC::OPTS.inspect}" if defined?(GC::OPTS)
desc = "#{RUBY_VERSION}#{RUBY_PATCHLEVEL >= 0 ? "p#{RUBY_PATCHLEVEL}" : "dev"}"
name = File.basename(script, '.rb')