Luke Palmer <[EMAIL PROTECTED]> wrote:

[ bug ]

I've fixed it somehow - still calling conventions stuff is missing.
(the register allocator will happily globber the return continuation in
the sub if not written explictely as P1).

This works now:

    .sub _main
        newsub P0, .Sub, _foo   # note the dot
        invokecc P0
        end
    .end

    .sub _foo
        print "foo\n"
        invoke P1
    .end

> Luke

leo

Reply via email to