mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This results in wrong argument/return calling conventions. First, the method call must be specialized. Only then the call can be de-virtualized. Usually, it's done in this order anyway, because the `class_method` instruction is located before the `apply`. But when inlining functions, the order (in the worklist) can be the other way round. Fixes a compiler crash. rdar://154631438
56 KiB
56 KiB