summaryrefslogtreecommitdiff
path: root/template/minsns.inc.tmpl
blob: f32b28cb7fc596a7e35641a6c0ad656f1a47df28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** -*-c-*-
  This file contains YARV instructions list, to define YARVCore::Instructions.

  ----
  This file is auto generated by insns2vm.rb
  DO NOT TOUCH!

  If you want to fix something, you must edit 'template/minsns.inc.tmpl'
  or tool/insns2vm.rb
 */

% @insns.each_with_index do |insn, i|
    rb_define_const(mYarvInsns, "I<%=insn.name%>", INT2FIX(<%=i%>));
% end