Add operator 'rem' to builtIns
Also deprecate operator 'mod'
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ CONTENT
|
||||
2 GET_VAR 'value-parameter m: Int' type=kotlin.Int origin=null
|
||||
3 GET_VAR 'number: Int' type=kotlin.Int origin=null
|
||||
4 CONST Int type=kotlin.Int value='10'
|
||||
5 CALL 'mod(Int): Int' type=kotlin.Int origin=PERC
|
||||
5 CALL 'rem(Int): Int' type=kotlin.Int origin=PERC
|
||||
OUTGOING -> BB 2
|
||||
CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
BB 2
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ CONTENT
|
||||
4 WHEN type=kotlin.Unit origin=null
|
||||
5 GET_VAR 'value-parameter n: Int' type=kotlin.Int origin=null
|
||||
6 GET_VAR 'm: Int' type=kotlin.Int origin=null
|
||||
7 CALL 'mod(Int): Int' type=kotlin.Int origin=PERC
|
||||
7 CALL 'rem(Int): Int' type=kotlin.Int origin=PERC
|
||||
8 CONST Int type=kotlin.Int value='0'
|
||||
9 CALL 'compareTo(Int): Int' type=kotlin.Int origin=GT
|
||||
OUTGOING -> BB 3, 4
|
||||
|
||||
Reference in New Issue
Block a user