Commit Graph

3 Commits

Author SHA1 Message Date
moatom
2e95a0d265 Fix include guards 2019-06-02 12:10:43 +09:00
Saleem Abdulrasool
19a73ad135 SwiftShims: always define TARGET_IS_SIMULATOR
This is used as a conditional guard rather than checked for a
definition.  Ensure that a value is always defined.  Silences a -Wundef
warning.  NFC
2018-12-30 10:28:37 -08:00
Mike Ash
fa4178c5e8 [IRGen][Runtime] Adjust the ObjC reserved bits on x86-64 to exactly match what the target uses.
Previously we had a single mask for all x86-64 targets which included both the top and bottom bits. This accommodated simulators, which use the top bit, while macOS uses the bottom bit, but reserved one bit more than necessary on each. This change breaks out x86-64 simulators from non-simulators and reserves only the one bit used on each.

rdar://problem/34805348 rdar://problem/29765919
2018-10-04 12:34:08 -04:00