added new utility features, fixed issue with multi dismention arrays, fixed friend class issue

This commit is contained in:
Parker TenBroeck 2025-05-02 12:45:09 -04:00
parent 10346c3226
commit ba6c68acbd
10 changed files with 101 additions and 35 deletions

View file

@ -358,7 +358,7 @@ public class FrameTracker {
pushStack(locals.get(l.slot()).toCD());
case LookupSwitchInstruction ls -> popStack();
case MonitorInstruction m -> popStack();
case NewMultiArrayInstruction nma -> decStack(nma.dimensions()).pushStack(nma.arrayType().asSymbol().arrayType());
case NewMultiArrayInstruction nma -> decStack(nma.dimensions()).pushStack(nma.arrayType().asSymbol());
case NewObjectInstruction no -> pushStack(no.className().asSymbol());
case NewPrimitiveArrayInstruction npa -> decStack(1).pushStack(npa.typeKind().upperBound().arrayType());
case NewReferenceArrayInstruction nra -> decStack(1).pushStack(nra.componentType().asSymbol().arrayType());