mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib/Unicode: restore the comment that explains why the function is
@noinline; it might be useful for someone reading the code Swift SVN r19233
This commit is contained in:
@@ -204,6 +204,9 @@ enum UTFDecodeResult {
|
||||
@noinline
|
||||
static func _findMaximalSubpartOfIllFormedUTF8Sequence(
|
||||
var buffer: UInt32, var validBytes: UInt8) -> UInt8 {
|
||||
// This function is '@noinline' because it is used only in the error
|
||||
// handling path.
|
||||
|
||||
// Clear EOF flag, we don't care about it.
|
||||
validBytes &= 0b0000_1111
|
||||
|
||||
|
||||
Reference in New Issue
Block a user