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:
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user