Mark public compiler intrinsics with // COMPILER_INTRINSIC

I followed Joe's example in Process.swift and used COMPILER_INTRINSIC (and not just INTRINSIC)



Swift SVN r22723
This commit is contained in:
Erik Eckstein
2014-10-14 07:32:03 +00:00
parent 8f275da82a
commit b51b3ed123
11 changed files with 53 additions and 27 deletions

View File

@@ -76,10 +76,12 @@ extension ObjCBool : Printable {
// Functions used to implicitly bridge ObjCBool types to Swift's Bool type.
public func _convertBoolToObjCBool(x: Bool) -> ObjCBool {
public // COMPILER_INTRINSIC
func _convertBoolToObjCBool(x: Bool) -> ObjCBool {
return ObjCBool(x)
}
public func _convertObjCBoolToBool(x: ObjCBool) -> Bool {
public // COMPILER_INTRINSIC
func _convertObjCBoolToBool(x: ObjCBool) -> Bool {
return Bool(x)
}