rubinius-compiler 3.31 → 3.32
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40a51d073fe8ac272c12a9c60595d74ac878ca26
|
4
|
+
data.tar.gz: a4b90fec9a4eb9743810d614a5a853c5925c5c7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4466a7f8770e050676d77be9016386e92ad045f4d22268de3baed17d0f5843b77112dba19baa6a1806646fa791bf4af509406fb40d36c4ab99128dd719bc06f
|
7
|
+
data.tar.gz: 4da0809d437bbbc1c7fa9a797ce9fa365334866f7e3de619ef216b31565a7263d010df49316ba608bf7c422f3f7b0635ab6be2dbd0d5dc5e9f9fcbddbc78e361
|
@@ -1155,5 +1155,179 @@ module CodeTools
|
|
1155
1155
|
@instruction = 151
|
1156
1156
|
end
|
1157
1157
|
|
1158
|
+
def m_log(arg1)
|
1159
|
+
@stream << 152 << arg1
|
1160
|
+
@ip += 2
|
1161
|
+
@instruction = 152
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
def m_debug
|
1165
|
+
@stream << 153
|
1166
|
+
@ip += 1
|
1167
|
+
@instruction = 153
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
def e_cache_method_p(arg1, arg2, arg3)
|
1171
|
+
@stream << 154 << arg1 << arg2 << arg3
|
1172
|
+
@ip += 4
|
1173
|
+
@instruction = 154
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
def e_cache_function_p(arg1, arg2, arg3)
|
1177
|
+
@stream << 155 << arg1 << arg2 << arg3
|
1178
|
+
@ip += 4
|
1179
|
+
@instruction = 155
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
def e_cache_value_p(arg1, arg2)
|
1183
|
+
@stream << 156 << arg1 << arg2
|
1184
|
+
@ip += 3
|
1185
|
+
@instruction = 156
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
def e_cache_method(arg1, arg2)
|
1189
|
+
@stream << 157 << arg1 << arg2
|
1190
|
+
@ip += 3
|
1191
|
+
@instruction = 157
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
def e_cache_function(arg1, arg2)
|
1195
|
+
@stream << 158 << arg1 << arg2
|
1196
|
+
@ip += 3
|
1197
|
+
@instruction = 158
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
def e_cache_value(arg1, arg2)
|
1201
|
+
@stream << 159 << arg1 << arg2
|
1202
|
+
@ip += 3
|
1203
|
+
@instruction = 159
|
1204
|
+
end
|
1205
|
+
|
1206
|
+
def e_resolve_method(arg1, arg2, arg3)
|
1207
|
+
@stream << 160 << arg1 << arg2 << arg3
|
1208
|
+
@ip += 4
|
1209
|
+
@instruction = 160
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
def e_resolve_receiver_method(arg1, arg2, arg3)
|
1213
|
+
@stream << 161 << arg1 << arg2 << arg3
|
1214
|
+
@ip += 4
|
1215
|
+
@instruction = 161
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
def e_resolve_function(arg1, arg2, arg3)
|
1219
|
+
@stream << 162 << arg1 << arg2 << arg3
|
1220
|
+
@ip += 4
|
1221
|
+
@instruction = 162
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
def e_resolve_scope_constant(arg1, arg2)
|
1225
|
+
@stream << 163 << arg1 << arg2
|
1226
|
+
@ip += 3
|
1227
|
+
@instruction = 163
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
def e_resolve_path_constant(arg1, arg2)
|
1231
|
+
@stream << 164 << arg1 << arg2
|
1232
|
+
@ip += 3
|
1233
|
+
@instruction = 164
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
def e_signature(arg1)
|
1237
|
+
@stream << 165 << arg1
|
1238
|
+
@ip += 2
|
1239
|
+
@instruction = 165
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
def e_check_signature(arg1, arg2)
|
1243
|
+
@stream << 166 << arg1 << arg2
|
1244
|
+
@ip += 3
|
1245
|
+
@instruction = 166
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
def e_invoke_method(arg1, arg2)
|
1249
|
+
@stream << 167 << arg1 << arg2
|
1250
|
+
@ip += 3
|
1251
|
+
@instruction = 167
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
def e_invoke_function(arg1, arg2)
|
1255
|
+
@stream << 168 << arg1 << arg2
|
1256
|
+
@ip += 3
|
1257
|
+
@instruction = 168
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
def a_instance(arg1, arg2)
|
1261
|
+
@stream << 169 << arg1 << arg2
|
1262
|
+
@ip += 3
|
1263
|
+
@instruction = 169
|
1264
|
+
end
|
1265
|
+
|
1266
|
+
def a_kind(arg1, arg2)
|
1267
|
+
@stream << 170 << arg1 << arg2
|
1268
|
+
@ip += 3
|
1269
|
+
@instruction = 170
|
1270
|
+
end
|
1271
|
+
|
1272
|
+
def a_method(arg1, arg2)
|
1273
|
+
@stream << 171 << arg1 << arg2
|
1274
|
+
@ip += 3
|
1275
|
+
@instruction = 171
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
def a_receiver_method(arg1, arg2)
|
1279
|
+
@stream << 172 << arg1 << arg2
|
1280
|
+
@ip += 3
|
1281
|
+
@instruction = 172
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
def a_type(arg1, arg2)
|
1285
|
+
@stream << 173 << arg1 << arg2
|
1286
|
+
@ip += 3
|
1287
|
+
@instruction = 173
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
def a_function(arg1, arg2)
|
1291
|
+
@stream << 174 << arg1 << arg2
|
1292
|
+
@ip += 3
|
1293
|
+
@instruction = 174
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
def a_equal(arg1, arg2)
|
1297
|
+
@stream << 175 << arg1 << arg2
|
1298
|
+
@ip += 3
|
1299
|
+
@instruction = 175
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
def a_not_equal(arg1, arg2)
|
1303
|
+
@stream << 176 << arg1 << arg2
|
1304
|
+
@ip += 3
|
1305
|
+
@instruction = 176
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
def a_less(arg1, arg2)
|
1309
|
+
@stream << 177 << arg1 << arg2
|
1310
|
+
@ip += 3
|
1311
|
+
@instruction = 177
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
def a_less_equal(arg1, arg2)
|
1315
|
+
@stream << 178 << arg1 << arg2
|
1316
|
+
@ip += 3
|
1317
|
+
@instruction = 178
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
def a_greater(arg1, arg2)
|
1321
|
+
@stream << 179 << arg1 << arg2
|
1322
|
+
@ip += 3
|
1323
|
+
@instruction = 179
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
def a_greater_equal(arg1, arg2)
|
1327
|
+
@stream << 180 << arg1 << arg2
|
1328
|
+
@ip += 3
|
1329
|
+
@instruction = 180
|
1330
|
+
end
|
1331
|
+
|
1158
1332
|
end
|
1159
1333
|
end
|
@@ -168,5 +168,39 @@ module Rubinius
|
|
168
168
|
opcode 150, :n_ige, :stack => [0, 0], :args => [:r0, :r1, :r2], :control_flow => :next
|
169
169
|
opcode 151, :n_ipopcnt, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
170
170
|
|
171
|
+
# More instrumentation instructions
|
172
|
+
opcode 152, :m_log, :stack => [0, 0], :args => [:r0], :control_flow => :next
|
173
|
+
opcode 153, :m_debug, :stack => [0, 0], :args => [], :control_flow => :next
|
174
|
+
|
175
|
+
# Code execution instructions
|
176
|
+
opcode 154, :e_cache_method_p, :stack => [0, 0], :args => [:r0, :r1, :ip], :control_flow => :next
|
177
|
+
opcode 155, :e_cache_function_p, :stack => [0, 0], :args => [:r0, :r1, :ip], :control_flow => :next
|
178
|
+
opcode 156, :e_cache_value_p, :stack => [0, 0], :args => [:r0, :ip], :control_flow => :next
|
179
|
+
opcode 157, :e_cache_method, :stack => [0, 0], :args => [:r0, :ip], :control_flow => :next
|
180
|
+
opcode 158, :e_cache_function, :stack => [0, 0], :args => [:r0, :ip], :control_flow => :next
|
181
|
+
opcode 159, :e_cache_value, :stack => [0, 0], :args => [:r0, :ip], :control_flow => :next
|
182
|
+
opcode 160, :e_resolve_method, :stack => [0, 0], :args => [:r0, :r1, :ip], :control_flow => :next
|
183
|
+
opcode 161, :e_resolve_receiver_method, :stack => [0, 0], :args => [:r0, :r1, :ip], :control_flow => :next
|
184
|
+
opcode 162, :e_resolve_function, :stack => [0, 0], :args => [:r0, :r1, :ip], :control_flow => :next
|
185
|
+
opcode 163, :e_resolve_scope_constant, :stack => [0, 0], :args => [:r0, :ip], :control_flow => :next
|
186
|
+
opcode 164, :e_resolve_path_constant, :stack => [0, 0], :args => [:r0, :ip], :control_flow => :next
|
187
|
+
opcode 165, :e_signature, :stack => [0, 0], :args => [:r0], :control_flow => :next
|
188
|
+
opcode 166, :e_check_signature, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
189
|
+
opcode 167, :e_invoke_method, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
190
|
+
opcode 168, :e_invoke_function, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
191
|
+
|
192
|
+
# Assertion instructions
|
193
|
+
opcode 169, :a_instance, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
194
|
+
opcode 170, :a_kind, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
195
|
+
opcode 171, :a_method, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
196
|
+
opcode 172, :a_receiver_method, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
197
|
+
opcode 173, :a_type, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
198
|
+
opcode 174, :a_function, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
199
|
+
opcode 175, :a_equal, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
200
|
+
opcode 176, :a_not_equal, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
201
|
+
opcode 177, :a_less, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
202
|
+
opcode 178, :a_less_equal, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
203
|
+
opcode 179, :a_greater, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
204
|
+
opcode 180, :a_greater_equal, :stack => [0, 0], :args => [:r0, :r1], :control_flow => :next
|
171
205
|
end
|
172
206
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubinius-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.32'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
79
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.5.
|
80
|
+
rubygems_version: 2.5.1
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: A Bytecode compiler for the Rubinius language platform.
|