Small generalisation to handle generated code.
Small generalisation to handle generated code.

KirinJS/Kirin,futureplatforms/Kirin,futureplatforms/Kirin,futureplatforms/Kirin,KirinJS/Kirin,futureplatforms/Kirin,futureplatforms/Kirin,KirinJS/Kirin