Booleans are no longer Comparable

This commit is contained in:
Alexander Udalov
2012-11-28 17:03:56 +04:00
parent b23601eefe
commit 9eecf22e15
7 changed files with 16 additions and 13 deletions
@@ -51,9 +51,6 @@ public class CompareTo implements IntrinsicMethod {
else if (receiver.type == Type.INT_TYPE) {
v.invokestatic("jet/runtime/Intrinsics", "compare", "(II)I");
}
else if (receiver.type == Type.BOOLEAN_TYPE) {
v.invokestatic("jet/runtime/Intrinsics", "compare", "(ZZ)I");
}
else if (receiver.type == Type.LONG_TYPE) {
v.invokestatic("jet/runtime/Intrinsics", "compare", "(JJ)I");
}