vmtc.inc
Methods
- G
Instance Public methods
generate()
Link
# File tool/instruction.rb, line 905 def generate insns_table = build_string do @insns.each{|insn| commit " LABEL_PTR(#{insn.name})," } end insn_end_table = build_string do @insns.each{|insn| commit " ELABEL_PTR(#{insn.name}),\n" } end ERB.new(vpath.read('template/vmtc.inc.tmpl')).result(binding) end