Files
swift-mirror/test/SIL/Serialization/Inputs/vtable_deserialization_input.swift
Slava Pestov f73699b7a9 SIL Linker: Don't link vtables in LinkNormal mode
Mandatory inlining performs devirtualization, which is able
to deserialize vtables on its own. And since class methods
cannot be @_transparent, we don't have to deserialize any
vtable entries unless we're in LinkAll mode, which indicates
we're running the performance pipeline.
2018-04-11 20:15:36 -07:00

12 lines
213 B
Swift

public func unknown() {}
public class Class {
@inlinable public class func firstMethod() {
unknown()
}
@inlinable public class func secondMethod() {}
@inlinable public class func thirdMethod() {}
}