@@ -3051,46 +3051,6 @@ OLD: KE1
3051
3051
// We need to handle all the builtin operators defines in BuiltInOperatorNames in
3052
3052
// compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/IrBuiltIns.kt
3053
3053
// as they can't be extracted as external dependencies.
3054
- isBuiltinCallInternal(c, "less") -> {
3055
- if (c.origin != IrStatementOrigin.LT) {
3056
- logger.warnElement("Unexpected origin for LT: ${c.origin}", c)
3057
- }
3058
- val id = tw.getFreshIdLabel<DbLtexpr>()
3059
- val type = useType(c.type)
3060
- tw.writeExprs_ltexpr(id, type.javaResult.id, parent, idx)
3061
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3062
- binOp(id, c, callable, enclosingStmt)
3063
- }
3064
- isBuiltinCallInternal(c, "lessOrEqual") -> {
3065
- if (c.origin != IrStatementOrigin.LTEQ) {
3066
- logger.warnElement("Unexpected origin for LTEQ: ${c.origin}", c)
3067
- }
3068
- val id = tw.getFreshIdLabel<DbLeexpr>()
3069
- val type = useType(c.type)
3070
- tw.writeExprs_leexpr(id, type.javaResult.id, parent, idx)
3071
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3072
- binOp(id, c, callable, enclosingStmt)
3073
- }
3074
- isBuiltinCallInternal(c, "greater") -> {
3075
- if (c.origin != IrStatementOrigin.GT) {
3076
- logger.warnElement("Unexpected origin for GT: ${c.origin}", c)
3077
- }
3078
- val id = tw.getFreshIdLabel<DbGtexpr>()
3079
- val type = useType(c.type)
3080
- tw.writeExprs_gtexpr(id, type.javaResult.id, parent, idx)
3081
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3082
- binOp(id, c, callable, enclosingStmt)
3083
- }
3084
- isBuiltinCallInternal(c, "greaterOrEqual") -> {
3085
- if (c.origin != IrStatementOrigin.GTEQ) {
3086
- logger.warnElement("Unexpected origin for GTEQ: ${c.origin}", c)
3087
- }
3088
- val id = tw.getFreshIdLabel<DbGeexpr>()
3089
- val type = useType(c.type)
3090
- tw.writeExprs_geexpr(id, type.javaResult.id, parent, idx)
3091
- tw.writeExprsKotlinType(id, type.kotlinResult.id)
3092
- binOp(id, c, callable, enclosingStmt)
3093
- }
3094
3054
isBuiltinCallInternal(c, "EQEQ") -> {
3095
3055
if (c.origin != IrStatementOrigin.EQEQ) {
3096
3056
logger.warnElement("Unexpected origin for EQEQ: ${c.origin}", c)
0 commit comments