[JS IR BE] Add ranges to runtime, rangeTo for primitive numbers
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// EXPECTED_REACHABLE_NODES: 1230
|
||||
// EXPECTED_REACHABLE_NODES: 1112
|
||||
// see KT-7683
|
||||
// WhenTranslator must recognize KtWhenConditionInRange and produce faster code when matched expression is Int
|
||||
package foo
|
||||
@@ -31,4 +30,4 @@ fun get(value: Int): Int {
|
||||
invocationCount++
|
||||
return value
|
||||
}
|
||||
var invocationCount = 0
|
||||
var invocationCount = 0
|
||||
|
||||
Reference in New Issue
Block a user