With the following patch, the method init of 'PAST::Node' returns the node.

It's allow the use of tail call, for example :
    .local pmc past
    past = new 'PAST::Val'
    past.'init'('node'=>node, 'vtype'=>'.LuaBoolean', 'name'=>1)
    .return (past)
becomes :
    .local pmc past
    past = new 'PAST::Val'
    .return past.'init'('node'=>node, 'vtype'=>'.LuaBoolean', 'name'=>1)

François

Attachment: Node.patch
Description: Binary data

Reply via email to