mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
- Virtual calls are done via a @llvm.type.checked.load instrinsic call with a type identifier - Type identifier of a vfunc is the base method's mangling - Type descriptors and class metadata get !type markers that list offsets and type identifiers of all vfuncs - The -enable-llvm-vfe frontend flag enables VFE - Two added tests verify the behavior on IR and by executing a program
82 KiB
82 KiB