mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 17:08:12 +00:00
Fixed AS3 - direct editation - call on index
This commit is contained in:
@@ -154,13 +154,16 @@ public class IndexAVM2Item extends AssignableAVM2Item {
|
||||
} else {
|
||||
return toSourceMerge(localData, generator,
|
||||
object,
|
||||
call ? ins(AVM2Instructions.Dup) : null,
|
||||
call ? dupSetTemp(localData, generator, ret_temp) : null,
|
||||
index,
|
||||
construct ? getTemp(localData, generator, ret_temp) : null,
|
||||
construct ? callargs : null,
|
||||
ins(construct ? AVM2Instructions.ConstructProp : delete ? AVM2Instructions.DeleteProperty : AVM2Instructions.GetProperty, indexPropIndex, construct ? callargs.size() : null),
|
||||
call ? getTemp(localData, generator, ret_temp) : null,
|
||||
call ? callargs : null,
|
||||
call ? ins(AVM2Instructions.Call, callargs.size()) : null,
|
||||
needsReturn ? null : ins(AVM2Instructions.Pop));
|
||||
needsReturn ? null : ins(AVM2Instructions.Pop),
|
||||
(call || construct) ? killTemp(localData, generator, Arrays.asList(ret_temp)) : null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user