From 40fc6383b11c1b7579865aaaa18581aac074a511 Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 26 Jun 2025 18:02:22 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E7=BB=9F=E4=B8=80=E8=A7=84?= =?UTF-8?q?=E8=8C=83=20VMOpCod=20e=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../snow/compiler/backend/util/OpHelper.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/jcnc/snow/compiler/backend/util/OpHelper.java b/src/main/java/org/jcnc/snow/compiler/backend/util/OpHelper.java index 8c7bba9..4bb0993 100644 --- a/src/main/java/org/jcnc/snow/compiler/backend/util/OpHelper.java +++ b/src/main/java/org/jcnc/snow/compiler/backend/util/OpHelper.java @@ -89,18 +89,18 @@ public final class OpHelper { map.put("L_OR", Integer.toString(VMOpCode.L_OR)); map.put("L_XOR", Integer.toString(VMOpCode.L_XOR)); map.put("JUMP", Integer.toString(VMOpCode.JUMP)); - map.put("IC_E", Integer.toString(VMOpCode.IC_E)); - map.put("IC_NE", Integer.toString(VMOpCode.IC_NE)); - map.put("IC_G", Integer.toString(VMOpCode.IC_G)); - map.put("IC_GE", Integer.toString(VMOpCode.IC_GE)); - map.put("IC_L", Integer.toString(VMOpCode.IC_L)); - map.put("IC_LE", Integer.toString(VMOpCode.IC_LE)); - map.put("LC_E", Integer.toString(VMOpCode.LC_E)); - map.put("LC_NE", Integer.toString(VMOpCode.LC_NE)); - map.put("LC_G", Integer.toString(VMOpCode.LC_G)); - map.put("LC_GE", Integer.toString(VMOpCode.LC_GE)); - map.put("LC_L", Integer.toString(VMOpCode.LC_L)); - map.put("LC_LE", Integer.toString(VMOpCode.LC_LE)); + map.put("IC_E", Integer.toString(VMOpCode.I_CE)); + map.put("IC_NE", Integer.toString(VMOpCode.I_CNE)); + map.put("IC_G", Integer.toString(VMOpCode.I_CG)); + map.put("IC_GE", Integer.toString(VMOpCode.I_CGE)); + map.put("IC_L", Integer.toString(VMOpCode.I_CL)); + map.put("IC_LE", Integer.toString(VMOpCode.I_CLE)); + map.put("LC_E", Integer.toString(VMOpCode.L_CE)); + map.put("LC_NE", Integer.toString(VMOpCode.L_CNE)); + map.put("LC_G", Integer.toString(VMOpCode.L_CG)); + map.put("LC_GE", Integer.toString(VMOpCode.L_CGE)); + map.put("LC_L", Integer.toString(VMOpCode.L_CL)); + map.put("LC_LE", Integer.toString(VMOpCode.L_CLE)); map.put("I_PUSH", Integer.toString(VMOpCode.I_PUSH)); map.put("L_PUSH", Integer.toString(VMOpCode.L_PUSH)); map.put("S_PUSH", Integer.toString(VMOpCode.S_PUSH));