Remove unroll pragma from stdlib (#14706)
This commit is contained in:
parent
40969296e9
commit
d85015e922
1 changed files with 0 additions and 4 deletions
|
|
@ -651,19 +651,16 @@ proc yamlNextToken(g: var GeneralTokenizer) =
|
|||
of 'x':
|
||||
inc(pos)
|
||||
for i in 1..2:
|
||||
{.unroll.}
|
||||
if g.buf[pos] in hexChars: inc(pos)
|
||||
break
|
||||
of 'u':
|
||||
inc(pos)
|
||||
for i in 1..4:
|
||||
{.unroll.}
|
||||
if g.buf[pos] in hexChars: inc(pos)
|
||||
break
|
||||
of 'U':
|
||||
inc(pos)
|
||||
for i in 1..8:
|
||||
{.unroll.}
|
||||
if g.buf[pos] in hexChars: inc(pos)
|
||||
break
|
||||
else: inc(pos)
|
||||
|
|
@ -802,7 +799,6 @@ proc yamlNextToken(g: var GeneralTokenizer) =
|
|||
if pos == 0 or g.buf[pos - 1] in {'\x0A', '\x0D'}:
|
||||
inc(pos)
|
||||
for i in 1..2:
|
||||
{.unroll.}
|
||||
if g.buf[pos] != '.': break
|
||||
inc(pos)
|
||||
if pos == g.start + 3:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue