On Fri, Jan 11, 2002 at 12:54:08PM -0500, Dan Sugalski wrote: > At 06:01 PM 1/10/2002 -0500, Jason Gloudon wrote: > >Here is a patch that makes pbc2c generated code work with the bsr opcode. It > >creates a new opcode 'enternative', and uses this to support a mixed model of > >interpretation and execution of compiled C code. > > Applied, thanks. Seems to give life about a 25% speedup on my CygWin setup.
As I previously reported the prederef can't cope with the bsr opcode: $ cat basic8.pasm print "start\n" bsr LAB1 print "done\n" end LAB1: print "lab 1\n" ret $ LD_LIBRARY_PATH=blib/lib ./test_parrot basic8.pbc start lab 1 done $ LD_LIBRARY_PATH=blib/lib ./test_parrot -P basic8.pbc start lab 1 Segmentation fault (core dumped) I don't know how to fix this. [also, I was wondering if there were any other thoughts on my unused variables patch, and my vtable_h.pl patch for the index warnings. There are still many gcc warnings, but there would be less with these two applied (or reworked) [There's no hurry to answer - there's plenty of perl5 for me to be getting on with in the meantime :-)]] Nicholas Clark -- ENOJOB http://www.ccl4.org/~nick/CV.html