mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-07 15:18:10 +00:00
Fixed: #2510 AS direct editation - popped value
This commit is contained in:
@@ -65,6 +65,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#2507] FLA export - Button hit test frame placing morphshapes
|
||||
- [#2507] FLA export - Place characters over multiple button frames
|
||||
- [#2508] AS1/2 direct editation - first command in for loop header not compiled
|
||||
- [#2510] AS direct editation - popped value
|
||||
|
||||
### Changed
|
||||
- Icon of "Deobfuscation options" menu from pile of pills to medkit
|
||||
@@ -3971,6 +3972,7 @@ Major version of SWF to XML export changed to 2.
|
||||
[#2503]: https://www.free-decompiler.com/flash/issues/2503
|
||||
[#2507]: https://www.free-decompiler.com/flash/issues/2507
|
||||
[#2508]: https://www.free-decompiler.com/flash/issues/2508
|
||||
[#2510]: https://www.free-decompiler.com/flash/issues/2510
|
||||
[#2476]: https://www.free-decompiler.com/flash/issues/2476
|
||||
[#2404]: https://www.free-decompiler.com/flash/issues/2404
|
||||
[#1418]: https://www.free-decompiler.com/flash/issues/1418
|
||||
|
||||
@@ -278,8 +278,8 @@ public class AVM2SourceGenerator implements SourceGenerator {
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<GraphSourceItem> generateDiscardValue(SourceGeneratorLocalData localData, GraphTargetItem item) throws CompilationException {
|
||||
List<GraphSourceItem> ret = item.toSource(localData, this);
|
||||
public List<GraphSourceItem> generateDiscardValue(SourceGeneratorLocalData localData, GraphTargetItem item) throws CompilationException {
|
||||
List<GraphSourceItem> ret = new ArrayList<>(item.toSource(localData, this));
|
||||
ret.add(ins(AVM2Instructions.Pop));
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -526,7 +526,7 @@ public class ActionSourceGenerator implements SourceGenerator {
|
||||
|
||||
@Override
|
||||
public List<GraphSourceItem> generateDiscardValue(SourceGeneratorLocalData localData, GraphTargetItem item) throws CompilationException {
|
||||
List<GraphSourceItem> ret = item.toSource(localData, this);
|
||||
List<GraphSourceItem> ret = new ArrayList<>(item.toSource(localData, this));
|
||||
ret.add(new ActionPop());
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user