Brian Wheeler wrote:
Its been a while since I tinkered with parrot so I thought I'd start
playing again...but I've hit a segfault.
Should of course not happen... But it seems that the codegen is mixing
old and new calling conventions.
The trace:
8233 set I0, 1 - I0=1,
8236 set I1, 0 - I1=0,
8239 set I2, 0 - I2=0,
8242 set I3, 0 - I3=0,
8245 set I4, 0 - I4=0,
8248 set S1, "" - S1="",
8251 set P0, PMC_C[733] - P0=Sub=PMC(0x8af24b8 pc:8023),
8254 invokecc
clearly shows some wrong function call, like another one I found in the
pir source:
.namespace ['main']
main()
This shorthand call syntax doesn't work together (yet) with the new
set_args/get_params ... opcodes.
So please verify that no function shortcut syntax is used in code
generation.
leo