blob: 2e005deb644d59d5bce2aa6bc80a4fe9c17a18cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# -*-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
|