ruby--ruby/template/yasmdata.rb.tmpl

21 lines
283 B
Cheetah
Raw Normal View History

# -*-ruby-*-
#
module YARVCore
class InstructionSequence
class Instruction
InsnID2NO = {
<%= insn_id2no %>
}
def self.id2insn_no id
if InsnID2NO.has_key? id
InsnID2NO[id]
end
end
end
end
end