From 835c8d9d48683192784a00a811fdb8fd39bce02d 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/compile.rb | 67 --------------------------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 tool/compile.rb (limited to 'tool/compile.rb') diff --git a/tool/compile.rb b/tool/compile.rb deleted file mode 100644 index 66960f9851..0000000000 --- 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(<