From 23db2a0b9ed4083f86cde79d5ac6c0c778b2662f Mon Sep 17 00:00:00 2001 From: Justus Garbe Date: Tue, 26 Sep 2023 00:06:25 +0200 Subject: [PATCH] fix: make null -> object for now --- .../java/me/darknet/assembler/compile/analysis/Frame.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jasm-composition-jvm/src/main/java/me/darknet/assembler/compile/analysis/Frame.java b/jasm-composition-jvm/src/main/java/me/darknet/assembler/compile/analysis/Frame.java index 8330ed5..5cb7b1e 100644 --- a/jasm-composition-jvm/src/main/java/me/darknet/assembler/compile/analysis/Frame.java +++ b/jasm-composition-jvm/src/main/java/me/darknet/assembler/compile/analysis/Frame.java @@ -123,7 +123,9 @@ public void push(ClassType type) { } public void pushNull() { - stack.push(NULL); + // TODO: track null state + //stack.push(NULL); + push(OBJECT); } public void push(ClassType... types) {