From be3ef273ef9e65c81494a5237faaaef12bb26fed Mon Sep 17 00:00:00 2001 From: Charles Comstock Date: Mon, 27 Oct 2008 19:47:36 -0500 Subject: [PATCH] fixed bm_lookuptable to work under MRI by setting LookupTable=Hash --- benchmark/rubinius/bm_lookuptable.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmark/rubinius/bm_lookuptable.rb b/benchmark/rubinius/bm_lookuptable.rb index bf4373e89a..b90dd47be8 100644 --- a/benchmark/rubinius/bm_lookuptable.rb +++ b/benchmark/rubinius/bm_lookuptable.rb @@ -14,6 +14,7 @@ def make_symbol make_string.to_sym end +LookupTable = Hash unless defined?(LookupTable) table = LookupTable.new hash = {}