Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: correct signature for
swift_swiftValueConformsTo
The swift side signature for `swift_swiftValueConformsTo` is: `func swift_swiftValueConformsTo<T>(_: T.self) -> Bool` This translates to: `bool swift_swiftValueConformsTo(const Metadata *, const Metadata *)` The elided parameter would be passed invalid values.. Running this on Windows with optimizations triggered an optimization where the parameter happened to be null as `rdx` is the second parameter rather than the 4th parameter.
- Loading branch information