@@ -3767,46 +3767,6 @@ OLD: KE1
3767
3767
// We need to handle all the builtin operators defines in BuiltInOperatorNames in
3768
3768
// compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/IrBuiltIns.kt
3769
3769
// as they can't be extracted as external dependencies.
3770
- isBuiltinCallInternal(c, "less") -> {
3771
- if (c.origin != IrStatementOrigin.LT) {
3772
- logger.warnElement("Unexpected origin for LT: ${c.origin}", c)
3773
- }
3774
- val id = tw.getFreshIdLabel<DbLtexpr>()
3775
- val type = useType(c.type)
3776
- tw.writeExprs_ltexpr(id, type.javaResult.id, parent, idx)
3777
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3778
- binOp(id, c, callable, enclosingStmt)
3779
- }
3780
- isBuiltinCallInternal(c, "lessOrEqual") -> {
3781
- if (c.origin != IrStatementOrigin.LTEQ) {
3782
- logger.warnElement("Unexpected origin for LTEQ: ${c.origin}", c)
3783
- }
3784
- val id = tw.getFreshIdLabel<DbLeexpr>()
3785
- val type = useType(c.type)
3786
- tw.writeExprs_leexpr(id, type.javaResult.id, parent, idx)
3787
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3788
- binOp(id, c, callable, enclosingStmt)
3789
- }
3790
- isBuiltinCallInternal(c, "greater") -> {
3791
- if (c.origin != IrStatementOrigin.GT) {
3792
- logger.warnElement("Unexpected origin for GT: ${c.origin}", c)
3793
- }
3794
- val id = tw.getFreshIdLabel<DbGtexpr>()
3795
- val type = useType(c.type)
3796
- tw.writeExprs_gtexpr(id, type.javaResult.id, parent, idx)
3797
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3798
- binOp(id, c, callable, enclosingStmt)
3799
- }
3800
- isBuiltinCallInternal(c, "greaterOrEqual") -> {
3801
- if (c.origin != IrStatementOrigin.GTEQ) {
3802
- logger.warnElement("Unexpected origin for GTEQ: ${c.origin}", c)
3803
- }
3804
- val id = tw.getFreshIdLabel<DbGeexpr>()
3805
- val type = useType(c.type)
3806
- tw.writeExprs_geexpr(id, type.javaResult.id, parent, idx)
3807
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3808
- binOp(id, c, callable, enclosingStmt)
3809
- }
3810
3770
isBuiltinCallInternal(c, "EQEQ") -> {
3811
3771
if (c.origin != IrStatementOrigin.EQEQ) {
3812
3772
logger.warnElement("Unexpected origin for EQEQ: ${c.origin}", c)
0 commit comments