From 141292aa27edbd2650cfdd52ab7f3ec0af7c74df Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 19 May 2008 03:08:50 +0000 Subject: * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling. VM value stack frame of block contains cref information. (dfp[-1] points CREF) * compile.c, eval_intern.h, eval_method.c, load.c, proc.c, vm_dump.h, vm_core.h: ditto. * include/ruby/ruby.h, gc.c: remove T_VALUES because of above changes. * bootstraptest/test_eval.rb, test_knownbug.rb: move solved test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/bmx_temp.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'benchmark') diff --git a/benchmark/bmx_temp.rb b/benchmark/bmx_temp.rb index e69de29bb..0b4b219ca 100644 --- a/benchmark/bmx_temp.rb +++ b/benchmark/bmx_temp.rb @@ -0,0 +1,9 @@ +def m + nil +end + +i=0 +while i<800000 # benchmark loop 2 + i+=1 + m; m; m; m; m; m; m; m; +end -- cgit