summaryrefslogtreecommitdiff
path: root/template/vmtc.inc.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-22 03:07:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-22 03:07:01 +0000
commit1f89414c20edbe0b36fac7351917f401ccee63a1 (patch)
treeac09286c71c8630484367b47934a99a0631fac50 /template/vmtc.inc.tmpl
parent066e9a8b4ac36907f8e7915b5f94fdc7ca851de0 (diff)
insns.inc.tmpl: ensure info size
* template/insns.inc.tmpl (ASSERT_VM_INSTRUCTION_SIZE): static assertion for VM instruction info tables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/vmtc.inc.tmpl')
-rw-r--r--template/vmtc.inc.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/vmtc.inc.tmpl b/template/vmtc.inc.tmpl
index 5f1f51a..3d9935d 100644
--- a/template/vmtc.inc.tmpl
+++ b/template/vmtc.inc.tmpl
@@ -16,3 +16,4 @@ static const void *const insns_address_table[] = {
<%= insns_table %>
};
+ASSERT_VM_INSTRUCTION_SIZE(insns_address_table);