1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/ruby_vm
k0kubun be27efdb83 dumper.rb: stop getting --destdir option value
via current directory. It's kind of a global state and fragile to
implementation changes in other places, and how the `Dir.getwd` is set
is not obvious from just reading around `RubyVM::Dumper#initialize` if
it depends on the global state.

tool/ruby_vm/controllers/application_controller.rb: explicitly pass
destdir to RubyVM::Dumper.

tool/ruby_vm/scripts/insns2vm.rb: explicitly pass destdir parsed from
optparse.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-27 01:59:08 +00:00
..
controllers dumper.rb: stop getting --destdir option value 2018-01-27 01:59:08 +00:00
helpers dumper.rb: stop getting --destdir option value 2018-01-27 01:59:08 +00:00
loaders tool/ruby_vm support for pre-2.0 BASERUBY 2018-01-12 08:38:12 +00:00
models move ADD_PC around to optimize PC manipluiations 2018-01-26 06:30:58 +00:00
scripts dumper.rb: stop getting --destdir option value 2018-01-27 01:59:08 +00:00
tests new insns.def format (2nd try) 2018-01-12 08:38:07 +00:00
views move ADD_PC around to optimize PC manipluiations 2018-01-26 06:30:58 +00:00