Do not generate unnecessary super-call checks for functions with defaults

Such check should only be generated for a function in an open class

 #KT-11962 Fixed
This commit is contained in:
Alexander Udalov
2016-12-23 18:24:26 +03:00
parent 3d9c264d63
commit b4051c4577
8 changed files with 65 additions and 46 deletions
@@ -7,6 +7,7 @@ class A {
return "OK"
}
}
// Test there is no argument reordering when call site argument order same as declaration one: 15 + 1 for super call check
// 10 LOAD
// 2 STORE
// Test there is no argument reordering when call site argument order same as declaration one
// 9 LOAD
// 2 STORE