[Yarv-devel] translation of node_scope
SASADA Koichi
ko1 at atdot.net
Sun Mar 13 10:12:25 EST 2005
Hi,
jm wrote:
> I've since worked around this problem, but still it's good to have an
> explanation. The work around was simple - put all the stuff using dbi
> out side of the __PROG__ in the modified test.rb example script.
> It now stops much later
>
> == disasm: <ISeq:b at b@main at test-flowmeter.rb>============================
> local scope table (size: 1, argc: 1)
>
> 0000 getdynamic_SC_xx_ax1, 1 (
> 114)
> 0003 putobject_OP_INT2FIX_O_1_C__SC_ax_ab
> 0004 opt_plus_SC_ab_ax
> 0005 setdynamic_SC_ax_xx1, 1
> 0008 putself_SC_xx_ax (
> 117)
> 0009 getdynamic_OP_1_0_SC_ax_ab
> 0010 send_OP__WC___WC__Qfalse_0__WC__SC_ab_ax:record_usage, 1, <ic>
> 0014 end_SC_ax_ax 2
> ------------------------------------------------------------------------
> -----
> vflow
> test-flowmeter.rb:126: [BUG] unknown type 0x22 (0x12 given)
> ruby 1.9.0 (2005-02-01) [i686-linux]
>
> Aborted
>
>
> vflow is a c module interface to flow-tools that I wrote. Does this
> mean that yarv doesn't handle compiled modules?
YARV supports compiled C method.
>
> Hopefully that makes sense as I'm running out the door as I write this.
Can I get your script which cause [BUG] on YARV?
More information about the Yarv-devel
mailing list