refactor: 优化比较操作的错误提示信息

This commit is contained in:
Luke 2025-07-11 09:47:31 +08:00
parent e33ad15475
commit 5177d00dce

View File

@ -84,7 +84,7 @@ public final class ComparisonUtils {
case 'L' -> IROpCodeMappings.CMP_L64;
case 'F' -> IROpCodeMappings.CMP_F32;
case 'D' -> IROpCodeMappings.CMP_D64;
default -> throw new IllegalStateException("Unexpected value: " + type);
default -> throw new IllegalStateException("意外的值: " + type);
};
return table.get(op);