yarv-dev-en:234
From: SASADA Koichi <ko1 atdot.net>
Date: Sat, 04 Nov 2006 12:57:07 +0900
Subject: [yarv-dev-en:234] Re: yield bytecode?
Hi, Steven Swerling wrote: > I'm a bit confused by the bytecodes too -- from looking at insns.inc, it > appears that there are 78 bytecodes, but the docs on the web show a lot > more beyond the base ones (getlocal_OP_2, send_OP__WC__0_Qfalse_0__WC_, > etc). I can't find these extra byte codes in the source, not even from > grepping the entire code-base. Are those extra ones dynamicly generated? Basically, you don't need to check opt_XXX instructions. These instructions are for only optimization. BTW, "getlocal_OP_2" means operand unified instruction (getlocal with operand 2) and "send_OP__WC__0_Qfalse_0__WC_" is also operand unified instruction (send *, false, 0. * means wild card). These instructions are generated when YARV build-timing. You can specify unified instruction with yarvsrc/opt_operand.def file. -- // SASADA Koichi at atdot dot net -- ML: yarv-dev-en quickml.atdot.net Info: http://www.atdot.net/~ko1/quickml
231 2006-10-31 07:24 [charles.nutter sun.c] yield bytecode? 232 2006-11-01 08:58 ┣[sswerling yahoo.com ] -> 234 2006-11-04 12:57 ┃┗[ko1 atdot.net ] 236 2006-11-05 05:37 ┃ ┗[sswerling yahoo.com ] 238 2006-11-05 09:00 ┃ ┗[znmeb cesmail.net ] 233 2006-11-04 12:51 ┗[ko1 atdot.net ]