JS: cache PropertyMetadata objects in property delegates

Also, remove unused PropertyMetadata instances

See KT-20737, KT-20738
This commit is contained in:
Alexey Andreev
2017-10-17 17:36:38 +03:00
parent 7ebfba3722
commit 88441da131
8 changed files with 96 additions and 4 deletions
+1 -1
View File
@@ -13,4 +13,4 @@ class Delegate(val f: () -> Int) {
}
}
// LINES: 1 2 3 2 2 3 3 3 * 8 7 7 10 10 13 12 12
// LINES: 1 2 3 * 2 2 3 3 3 * 8 7 7 10 10 13 12 12
+1 -1
View File
@@ -15,4 +15,4 @@ class B {
}
}
// LINES: 3 4 5 4 4 4 2 * 8 11 10 10 15 14 14
// LINES: 3 4 5 * 4 4 4 2 * 8 11 10 10 15 14 14