|
14 | 14 | # along with this program; if not, write to the Free Software |
15 | 15 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
16 | 16 | """ |
17 | | -Python Graal 3.10 (graal-23.0.0) bytecode opcodes |
| 17 | +Python Graal 3.10 (graalpy-23) bytecode opcodes |
18 | 18 |
|
19 | 19 | See com.oracle.graal.python/src/com/oracle/graal/python/compiler/OpCodes.java |
20 | 20 | """ |
|
390 | 390 | # calling |
391 | 391 | # ------- |
392 | 392 |
|
393 | | -# calls method on an object using an array as args. the receiver is taken from the first |
394 | | -# element of the array. the method name is determined by the immediate operand which indexes |
| 393 | +# |
| 394 | +# Calls method on an object using an array as args. The receiver is taken from the first |
| 395 | +# element of the array. The method name is determined by the immediate operand which indexes |
395 | 396 | # the names array ({@code co_names}). |
396 | 397 | # |
397 | | -# pops: args ({@code object[]} of size >= 1) |
| 398 | +# Pops: args ({@code Object[]} of size >= 1) |
398 | 399 | # |
399 | | -# pushes: call result |
| 400 | +# Pushes: call result |
400 | 401 | # |
401 | | -call_op_graal(loc, "call_method_varargs", 0x41, 1, 1, 1) |
| 402 | +call_op_graal(loc, "CALL_METHOD_VARARGS", 65, 1, 1, 1) |
402 | 403 | # |
403 | | -# calls method on an object using a number of stack args determined by the first immediate |
| 404 | +# Calls method on an object using a number of stack args determined by the first immediate |
404 | 405 | # operand. |
405 | 406 | # |
406 | | -# pops: multiple arguments depending on the first immediate operand, then the method and the |
| 407 | +# Pops: multiple arguments depending on the first immediate operand, then the method and the |
407 | 408 | # receiver |
408 | 409 | # |
409 | | -# pushes: call result |
| 410 | +# Pushes: call result |
410 | 411 | # |
411 | 412 | call_op_graal( |
412 | 413 | loc, "CALL_METHOD", 0x42, 1, 1, 1 |
|
0 commit comments