Merge pull request #14358 from compnerd/remove-SWIFT_USE_SWIFTCALL

stdlib: remove vestigial SWIFT_USE_SWIFTCALL
This commit is contained in:
Saleem Abdulrasool
2018-02-04 09:53:27 -08:00
committed by GitHub

View File

@@ -58,11 +58,6 @@ using namespace swift;
#error "The runtime must be built with a compiler that supports swiftcall."
#endif
// Check that the user isn't manually disabling SWIFTCALL.
#if defined(SWIFT_USE_SWIFTCALL) && !SWIFT_USE_SWIFTCALL
#error "SWIFT_USE_SWIFTCALL=0 is not supported; swiftcall must always be used."
#endif
/// Returns true if the pointer passed to a native retain or release is valid.
/// If false, the operation should immediately return.
static inline bool isValidPointerForNativeRetain(const void *p) {