summaryrefslogtreecommitdiff
path: root/tool/insns2vm.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 11:02:40 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 11:02:40 +0000
commit904b9e5d547f4f9a9f3236d2633f0cb6d7aae14c (patch)
tree8ea39d937eb9160f1a3ca8b750bf009e203a7a1d /tool/insns2vm.rb
parent59202b7ab8147f3947900a919fcf82bc5f3e74e7 (diff)
* vm_macro.def: removed.
* insn_send.ci: added. this file includes send instruction body. * common.mk: ditto. * insns.def: ditto. * tool/insns2vm.rb: ditto. * vm.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/insns2vm.rb')
-rw-r--r--tool/insns2vm.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/tool/insns2vm.rb b/tool/insns2vm.rb
index 57d282b..3eb2cc5 100644
--- a/tool/insns2vm.rb
+++ b/tool/insns2vm.rb
@@ -1208,23 +1208,6 @@ class InsnsDef
ERB.new(vpath.read('template/yarvarch.en')).result(binding)
end
- def vm_macro_inc
- ret = ''
- flag = false
- vpath.foreach('vm_macro.def') {|line|
- line.rstrip!
- if /^MACRO\s/ =~ line
- line.sub!(/^MACRO/, '#define')
- flag = true
- elsif /^\}/ =~ line
- flag = false
- end
-
- ret << line + (flag ? " \\" : '') + "\n"
- }
- ret
- end
-
Files = { # codes
'vm.inc' => :vm_inc,
'vmtc.inc' => :vmtc_inc,
@@ -1235,7 +1218,6 @@ class InsnsDef
'optunifs.inc' => :optunifs_unc,
'opt_sc.inc' => :opt_sc_inc,
'yasmdata.rb' => :yasmdata_rb,
- 'vm_macro.inc' => :vm_macro_inc,
}
def make_sources args = []