summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-18 22:30:13 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-18 22:30:13 +0000
commitc2091e37ec2fd62e82f5aa69e8d147e0c329cdff (patch)
treeec3599801897bc1eff805ce1c07137b32e5e4019 /tool
parentb7be78d774daf5b9a9fdd63e6d20e30309b9efa0 (diff)
* 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
Diffstat (limited to 'tool')
-rw-r--r--tool/instruction.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/tool/instruction.rb b/tool/instruction.rb
index 5e5eb0b78a..7ecc84b26f 100644
--- a/tool/instruction.rb
+++ b/tool/instruction.rb
@@ -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|