~ubuntu-branches/ubuntu/quantal/ruby1.9.1/quantal

« back to all changes in this revision

Viewing changes to debian/generated-incs/insns.inc

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2009-07-30 19:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20090730190631-3x30w2mtev71ah62
Tags: 1.9.1.243-0ubuntu1
* Upload snapshot from Debian's pkg-ruby SVN repository to karmic.
  SVN revision: 235.
  Likely to be similar to the final package uploaded to Debian.
  Known issues:
  + lintian warnings/errors (nothing important)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/** -*-c-*-
 
2
  This file contains YARV instructions list.
 
3
  
 
4
  ----
 
5
  This file is auto generated by insns2vm.rb
 
6
  DO NOT TOUCH!
 
7
 
 
8
  If you want to fix something, you must edit 'template/insns.inc.tmpl'
 
9
  or insns2vm.rb
 
10
 */
 
11
 
 
12
 
 
13
/* BIN : Basic Instruction Name */
 
14
#define BIN(n) YARVINSN_##n
 
15
 
 
16
enum ruby_vminsn_type {
 
17
  BIN(nop)                       = 0,
 
18
 
 
19
  BIN(getlocal)                  = 1,
 
20
 
 
21
  BIN(setlocal)                  = 2,
 
22
 
 
23
  BIN(getspecial)                = 3,
 
24
 
 
25
  BIN(setspecial)                = 4,
 
26
 
 
27
  BIN(getdynamic)                = 5,
 
28
 
 
29
  BIN(setdynamic)                = 6,
 
30
 
 
31
  BIN(getinstancevariable)       = 7,
 
32
 
 
33
  BIN(setinstancevariable)       = 8,
 
34
 
 
35
  BIN(getclassvariable)          = 9,
 
36
 
 
37
  BIN(setclassvariable)          = 10,
 
38
 
 
39
  BIN(getconstant)               = 11,
 
40
 
 
41
  BIN(setconstant)               = 12,
 
42
 
 
43
  BIN(getglobal)                 = 13,
 
44
 
 
45
  BIN(setglobal)                 = 14,
 
46
 
 
47
  BIN(putnil)                    = 15,
 
48
 
 
49
  BIN(putself)                   = 16,
 
50
 
 
51
  BIN(putobject)                 = 17,
 
52
 
 
53
  BIN(putspecialobject)          = 18,
 
54
 
 
55
  BIN(putiseq)                   = 19,
 
56
 
 
57
  BIN(putstring)                 = 20,
 
58
 
 
59
  BIN(concatstrings)             = 21,
 
60
 
 
61
  BIN(tostring)                  = 22,
 
62
 
 
63
  BIN(toregexp)                  = 23,
 
64
 
 
65
  BIN(newarray)                  = 24,
 
66
 
 
67
  BIN(duparray)                  = 25,
 
68
 
 
69
  BIN(expandarray)               = 26,
 
70
 
 
71
  BIN(concatarray)               = 27,
 
72
 
 
73
  BIN(splatarray)                = 28,
 
74
 
 
75
  BIN(checkincludearray)         = 29,
 
76
 
 
77
  BIN(newhash)                   = 30,
 
78
 
 
79
  BIN(newrange)                  = 31,
 
80
 
 
81
  BIN(pop)                       = 32,
 
82
 
 
83
  BIN(dup)                       = 33,
 
84
 
 
85
  BIN(dupn)                      = 34,
 
86
 
 
87
  BIN(swap)                      = 35,
 
88
 
 
89
  BIN(reput)                     = 36,
 
90
 
 
91
  BIN(topn)                      = 37,
 
92
 
 
93
  BIN(setn)                      = 38,
 
94
 
 
95
  BIN(adjuststack)               = 39,
 
96
 
 
97
  BIN(defined)                   = 40,
 
98
 
 
99
  BIN(trace)                     = 41,
 
100
 
 
101
  BIN(defineclass)               = 42,
 
102
 
 
103
  BIN(send)                      = 43,
 
104
 
 
105
  BIN(invokesuper)               = 44,
 
106
 
 
107
  BIN(invokeblock)               = 45,
 
108
 
 
109
  BIN(leave)                     = 46,
 
110
 
 
111
  BIN(finish)                    = 47,
 
112
 
 
113
  BIN(throw)                     = 48,
 
114
 
 
115
  BIN(jump)                      = 49,
 
116
 
 
117
  BIN(branchif)                  = 50,
 
118
 
 
119
  BIN(branchunless)              = 51,
 
120
 
 
121
  BIN(getinlinecache)            = 52,
 
122
 
 
123
  BIN(onceinlinecache)           = 53,
 
124
 
 
125
  BIN(setinlinecache)            = 54,
 
126
 
 
127
  BIN(opt_case_dispatch)         = 55,
 
128
 
 
129
  BIN(opt_checkenv)              = 56,
 
130
 
 
131
  BIN(opt_plus)                  = 57,
 
132
 
 
133
  BIN(opt_minus)                 = 58,
 
134
 
 
135
  BIN(opt_mult)                  = 59,
 
136
 
 
137
  BIN(opt_div)                   = 60,
 
138
 
 
139
  BIN(opt_mod)                   = 61,
 
140
 
 
141
  BIN(opt_eq)                    = 62,
 
142
 
 
143
  BIN(opt_neq)                   = 63,
 
144
 
 
145
  BIN(opt_lt)                    = 64,
 
146
 
 
147
  BIN(opt_le)                    = 65,
 
148
 
 
149
  BIN(opt_gt)                    = 66,
 
150
 
 
151
  BIN(opt_ge)                    = 67,
 
152
 
 
153
  BIN(opt_ltlt)                  = 68,
 
154
 
 
155
  BIN(opt_aref)                  = 69,
 
156
 
 
157
  BIN(opt_aset)                  = 70,
 
158
 
 
159
  BIN(opt_length)                = 71,
 
160
 
 
161
  BIN(opt_succ)                  = 72,
 
162
 
 
163
  BIN(opt_not)                   = 73,
 
164
 
 
165
  BIN(opt_regexpmatch1)          = 74,
 
166
 
 
167
  BIN(opt_regexpmatch2)          = 75,
 
168
 
 
169
  BIN(opt_call_c_function)       = 76,
 
170
 
 
171
  BIN(bitblt)                    = 77,
 
172
 
 
173
  BIN(answer)                    = 78,
 
174
 
 
175
  VM_INSTRUCTION_SIZE            = 79
 
176
};
 
177