JVM_IR: Generate args check in existing methods for special bridge methods.

Fix the number of arguments checked (1 for getOrDefault and 2 for
remove).
This commit is contained in:
Mads Ager
2019-11-18 10:56:44 +01:00
committed by Georgy Bronnikov
parent 369d9bfdab
commit 15ed342282
11 changed files with 102 additions and 54 deletions
@@ -1,5 +1,8 @@
//FULL_JDK
// In BridgeLowering, no concrete overwrite is found for getOrDefault.
// IGNORE_BACKEND: JVM_IR
class KotlinMap1<K, V> : java.util.AbstractMap<K, V>() {
override val entries: MutableSet<MutableMap.MutableEntry<K, V>>
get() = throw UnsupportedOperationException()