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

@@ -401,7 +401,8 @@ extension String {
/// implementation in the runtime library. Constructs a String in
/// resultStorage containing the given UTF-8.
@asmname("swift_stringFromUTF8InRawMemory")
public static func _fromUTF8InRawMemory(
public // COMPILER_INTRINSIC
static func _fromUTF8InRawMemory(
resultStorage: UnsafeMutablePointer<String>,
start: UnsafeMutablePointer<UTF8.CodeUnit>, utf8Count: Int
) {