Kray-G/kinx

Need to add POPC op code before `return` in try statement without finally clause.

Kray-G opened this issue · 0 comments

try {
    return something();
} catch (e) {
    error();
}

There is no output of POPC when using return statement with expression in try statement without finally clause.
This may cause a crash by accessing invalid stack field when exception occurs.