Re: [swift-dev] TwoWordPair::Return and Calling Conventions on x64 Windows

2017-12-05 Thread John McCall via swift-dev
> On Dec 5, 2017, at 8:30 PM, Thomas Roughton via swift-dev > wrote: > > I've been working on getting Swift running properly on 64-bit Windows and > wanted to get some feedback/ideas on a specific issue. > > In swift/Runtime/HeapObject.h, there is a TwoWordPair::Return type intended > to re

Re: [swift-dev] TwoWordPair::Return and Calling Conventions on x64 Windows

2017-12-05 Thread Jordan Rose via swift-dev
Since all of the functions that use TwoWordPair::Return are part of the Swift runtime and not intended to be overloaded, we could also just make them all `extern "C"`, or give them explicit mangled names, either everywhere or just on x64 Windows. Jordan > On Dec 5, 2017, at 17:30, Thomas Roug