ruby-changes:32204
From: ko1 <ko1@a...>
Date: Thu, 19 Dec 2013 10:50:06 +0900 (JST)
Subject: [ruby-changes:32204] ko1:r44283 (trunk): * benchmark/gc/gcbench.rb: check GC::OPTS availability
ko1 2013-12-19 10:49:59 +0900 (Thu, 19 Dec 2013) New Revision: 44283 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44283 Log: * benchmark/gc/gcbench.rb: check GC::OPTS availability for not MRI 2.1.0. Modified files: trunk/ChangeLog trunk/benchmark/gc/gcbench.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 44282) +++ ChangeLog (revision 44283) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Dec 19 10:48:37 2013 Koichi Sasada <ko1@a...> + + * benchmark/gc/gcbench.rb: check GC::OPTS availability + for not MRI 2.1.0. + Thu Dec 19 03:10:30 2013 Aman Gupta <ruby@t...> * gc.c (heap_get_freeobj): remove redundant assignment. heap->freelist Index: benchmark/gc/gcbench.rb =================================================================== --- benchmark/gc/gcbench.rb (revision 44282) +++ benchmark/gc/gcbench.rb (revision 44283) @@ -34,7 +34,7 @@ end https://github.com/ruby/ruby/blob/trunk/benchmark/gc/gcbench.rb#L34 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') -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/