From fc674b11d256af86cf16d37f82e87fc72edf9ae1 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 24 Dec 2007 07:06:03 +0000 Subject: * tool/compile.rb, getrev.rb, runruby.rb: remove unused tools. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/compile.rb | 67 --------------------------------------------------------- tool/getrev.rb | 13 ----------- tool/runruby.rb | 4 ---- 3 files changed, 84 deletions(-) delete mode 100644 tool/compile.rb delete mode 100644 tool/getrev.rb delete mode 100644 tool/runruby.rb (limited to 'tool') diff --git a/tool/compile.rb b/tool/compile.rb deleted file mode 100644 index 66960f985..000000000 --- a/tool/compile.rb +++ /dev/null @@ -1,67 +0,0 @@ -require 'optparse' -require 'pp' - -OutputCompileOption = { - # enable - :peephole_optimization =>true, - :inline_const_cache =>true, - - # disable - :specialized_instruction =>false, - :operands_unification =>false, - :instructions_unification =>false, - :stack_caching =>false, -} - -def compile_to_rb infile, outfile - iseq = VM::InstructionSequence.compile_file(infile, OutputCompileOption) - - open(outfile, 'w'){|f| - f.puts "VM::InstructionSequence.load(" + - "Marshal.load(<