refactor: 优化比较操作的错误提示信息
This commit is contained in:
parent
e33ad15475
commit
5177d00dce
@ -84,7 +84,7 @@ public final class ComparisonUtils {
|
|||||||
case 'L' -> IROpCodeMappings.CMP_L64;
|
case 'L' -> IROpCodeMappings.CMP_L64;
|
||||||
case 'F' -> IROpCodeMappings.CMP_F32;
|
case 'F' -> IROpCodeMappings.CMP_F32;
|
||||||
case 'D' -> IROpCodeMappings.CMP_D64;
|
case 'D' -> IROpCodeMappings.CMP_D64;
|
||||||
default -> throw new IllegalStateException("Unexpected value: " + type);
|
default -> throw new IllegalStateException("意外的值: " + type);
|
||||||
};
|
};
|
||||||
|
|
||||||
return table.get(op);
|
return table.get(op);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user