1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed

input files for code generators into defs/ directory.

* Makefile.in (lex.c): followed keywords and lex.c.src.

* common.mk (parser.o): followed keywords.
  (INSNS): followed opt_*.def

* tools/instruction.rb: followed opt_*.def.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-10-18 22:30:13 +00:00
parent b7be78d774
commit c2091e37ec
8 changed files with 21 additions and 9 deletions

View file

@ -106,8 +106,8 @@ class RubyVM
load_insns_def opts[:"insns.def"] || 'insns.def'
load_opt_operand_def opts[:"opope.def"] || 'opt_operand.def'
load_insn_unification_def opts[:"unif.def"] || 'opt_insn_unif.def'
load_opt_operand_def opts[:"opope.def"] || 'defs/opt_operand.def'
load_insn_unification_def opts[:"unif.def"] || 'defs/opt_insn_unif.def'
make_stackcaching_insns if vm_opt?('STACK_CACHING')
end
@ -1326,8 +1326,8 @@ class RubyVM
def self.def_options(opt)
opts = {
:"insns.def" => 'insns.def',
:"opope.def" => 'opt_operand.def',
:"unif.def" => 'opt_insn_unif.def',
:"opope.def" => 'defs/opt_operand.def',
:"unif.def" => 'defs/opt_insn_unif.def',
}
opt.on("-Dname", /\AOPT_(\w+)\z/, "enable VM option") {|s, v|