mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user