[Yarv-devel] expandarray and opcode questions
George Marrows
george.marrows at ntlworld.com
Tue Apr 5 16:58:44 EDT 2005
Hi.
1. Can you explain the expandarray opcode a bit more please? The
arguments to expandarray are num, flag. num seems to control how many
elements to take from an array.
-- what does it mean if num is negative?
-- what does flag do?
I've think I've found a couple of multiple assignment bugs - I'd like to
try fixing them myself, but I need to understand expandarray first.
2. Can you explain the optimized opcodes a bit - I don't understand
their names.
getlocal_OP_1
-- I assume this getlocal with idx set to be 1. OP = 'operand'?
getdynamic_OP__WC__0
-- what does 'WC' mean?
getlocal_SC_xx_ax, _ax_ab, _bx_ba etc
-- what is SC? 'stack cache'?
-- what are xx, ax, ab, bx, ba etc??
Thanks for your help!
-- George
More information about the Yarv-devel
mailing list