You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New opcode OP_CALL_VARARG expects func and arg array on stack.
New opcode OP_ARRAY_CONCAT has one operand for the number of arrays to concatenate. Pops them off the stack, ensures all are arrays, concatenates, pushes result.
Somehow build array holding excess arguments... Can't use OP_ARRAY_FROM_VALUES since length isn't know statically; on the other hand, the bytecode doesn't have access to the actual number of arguments, so it's not possible to use a dynamic version of that opcode. Maybe building the array will have to be part of the call opcode.
The text was updated successfully, but these errors were encountered:
Variadic calls
New opcode
OP_CALL_VARARG
expects func and arg array on stack.New opcode
OP_ARRAY_CONCAT
has one operand for the number of arrays to concatenate. Pops them off the stack, ensures all are arrays, concatenates, pushes result.Variadic functions
Somehow build array holding excess arguments... Can't use
OP_ARRAY_FROM_VALUES
since length isn't know statically; on the other hand, the bytecode doesn't have access to the actual number of arguments, so it's not possible to use a dynamic version of that opcode. Maybe building the array will have to be part of the call opcode.The text was updated successfully, but these errors were encountered: