diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-22 04:22:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-22 04:22:01 +0000 |
commit | 14bda8d3c38113d32850e6f2169761d0a46fec10 (patch) | |
tree | dc9ac4c3d0307bfd6c5427f359070c433eb40e40 /template/vmtc.inc.tmpl | |
parent | 6dbfaa2ba036e983264f0dbea94f932974f94c4d (diff) | |
download | ruby-14bda8d3c38113d32850e6f2169761d0a46fec10.tar.gz |
tool/instruction.rb: move logics to templates
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/vmtc.inc.tmpl')
-rw-r--r-- | template/vmtc.inc.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/template/vmtc.inc.tmpl b/template/vmtc.inc.tmpl index 3d9935dcaa..3c313113a5 100644 --- a/template/vmtc.inc.tmpl +++ b/template/vmtc.inc.tmpl @@ -13,7 +13,9 @@ */ static const void *const insns_address_table[] = { -<%= insns_table %> +% @insns.each do |insn| + LABEL_PTR(<%=insn.name%>), +% end }; ASSERT_VM_INSTRUCTION_SIZE(insns_address_table); |