add §§push if something left on stack before ExitItem (return, throw)

This commit is contained in:
Jindra Petřík
2021-01-29 11:07:03 +01:00
parent 2092a38e12
commit e9f484e735
2 changed files with 4 additions and 3 deletions

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.graph;
import com.jpexs.decompiler.flash.BaseLocalData;
@@ -533,10 +534,10 @@ public class Graph {
lastUsage.get(labelName).labelName = null;
}
}
}
expandGotos(ret);
processIfs(ret);
finalProcessStack(stack, ret, path);
makeAllCommands(ret, stack);
finalProcessAll(ret, 0, getFinalData(localData, loops), path);
return ret;
}