summaryrefslogtreecommitdiff
path: root/template/vmtc.inc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/vmtc.inc.tmpl')
-rw-r--r--template/vmtc.inc.tmpl4
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);