mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
59202b7ab8
commit
904b9e5d54
7 changed files with 242 additions and 252 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue