Commit Graph

4 Commits

Author SHA1 Message Date
practicalswift
b680cd0a88 [gardening] Fix a-vs-an typo 2017-02-15 15:59:34 +01:00
practicalswift
67041a0016 [gardening] Fix inconsistent headers 2017-02-15 15:57:12 +01:00
practicalswift
648ef2949a [gardening] Fix incorrect Swift URLs 2017-02-15 15:47:30 +01:00
Arnold Schwaighofer
39fa2f0228 Use the swift calling convention for swift functions
Use the generic type lowering algorithm described in
"docs/CallingConvention.rst#physical-lowering" to map from IRGen's explosion
type to the type expected by the ABI.

Change IRGen to use the swift calling convention (swiftcc) for native swift
functions.

Use the 'swiftself' attribute on self parameters and for closures contexts.

Use the 'swifterror' parameter for swift error parameters.

Change functions in the runtime that are called as native swift functions to use
the swift calling convention.

rdar://19978563
2017-02-14 12:17:57 -08:00