jitcraft/Opcodes.tbl
changeset 46 735503e448a0
parent 23 8a31742781c1
child 47 050939c6181e
     1.1 --- a/jitcraft/Opcodes.tbl	Tue Jul 03 09:25:18 2012 -0700
     1.2 +++ b/jitcraft/Opcodes.tbl	Tue Jul 03 13:53:34 2012 -0400
     1.3 @@ -73,11 +73,11 @@
     1.4  // Unconditional terminator placed at the end of code.
     1.5  OPDEF(OP_STOP,          19,         "stop",         1,      0,  0)
     1.6  
     1.7 -// Call a function with N arguments. Arguments are pushed in reverse order.
     1.8 +// Call a function with N arguments.
     1.9  //
    1.10  // CALLGLOBAL - followed by an extra immediate, containing the function index
    1.11  // in the code's global.
    1.12 -OPDEF(OP_CALLGLOBAL,    20,         "callglobal",   9,      -1, 1)
    1.13 +OPDEF(OP_CALLGLOBAL,    20,         "callglobal",   5,      -1, 1)
    1.14  
    1.15  // Similar to GET/LOCAL, except for arguments.
    1.16  OPDEF(OP_GETARG,        21,         "getarg",       5,      0,  1)