repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add a test for IA64 Debian GNU/Linux Etch.
[ruby-svn.git]
/
template
/
yasmdata.rb.tmpl
blob
95ad092e4f8c2538e37ee114777d885506365cfe
1
# -*-ruby-*-
2
#
3
4
class VM
5
class InstructionSequence
6
class Instruction
7
InsnID2NO = {
8
<%= insn_id2no %>
9
}
10
11
def self.id2insn_no id
12
if InsnID2NO.has_key? id
13
InsnID2NO[id]
14
end
15
end
16
end
17
end
18
end
19
20