Commits

David Farler committed a53a31cb6e0
SILGen: Use `super_method` for native non-final methods in classes Use the `super_method` instruction for non-final `func` and `class func` declarations in native Swift classes. Previously, we would always emit a static `function_ref` for these, which prevents resilient dynamic dispatch. This is hidden behind a -use-native-super-dispatch flag while I survey the effects on devirtualization and stack promotion. When that's figured out, I'll add more tests and update test cases that still assume static dispatch. rdar://problem/22749732