Re: Calling functions in IMCC

2003-11-08 Thread Leopold Toetsch
Sterling Hughes <[EMAIL PROTECTED]> wrote: > Hey, > I'm having problems figuring out how to pass parameters to a function > .sub _b > .sub _main prototyped Parrot does *not* start execution at "_main" but at the first code line, which happens to be in "_b". leo

Calling functions in IMCC

2003-11-07 Thread Sterling Hughes
Hey, I'm having problems figuring out how to pass parameters to a function with the current imcc. It either segfaults (in hash_str() from find_basic_blocks()) or gives me 'No entries on the UserStack', depending on how I do it wrong. :) Does anyone have a minimal example of using imcc to call