[stdlib] all sorts of require renamed back to precondition

This commit is contained in:
Max Moiseev
2016-02-19 18:21:29 -08:00
parent b1ef18fb75
commit 40b1a0b7e0
77 changed files with 360 additions and 378 deletions

View File

@@ -190,7 +190,7 @@ struct _UnicodeGraphemeClusterBreakPropertyTrie {
(dataBlockIndex << ${BMPDataOffsetBits}) &+
_getBMPDataOffset(codePoint)])
} else {
_require(codePoint <= 0x10ffff)
_precondition(codePoint <= 0x10ffff)
let secondLookupIndex = Int(_SuppLookup1[_getSuppFirstLevelIndex(codePoint)])
let dataBlockIndex = Int(_SuppLookup2[
(secondLookupIndex << ${SuppSecondLevelIndexBits}) &+