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':
|
of 'x':
|
||||||
inc(pos)
|
inc(pos)
|
||||||
for i in 1..2:
|
for i in 1..2:
|
||||||
{.unroll.}
|
|
||||||
if g.buf[pos] in hexChars: inc(pos)
|
if g.buf[pos] in hexChars: inc(pos)
|
||||||
break
|
break
|
||||||
of 'u':
|
of 'u':
|
||||||
inc(pos)
|
inc(pos)
|
||||||
for i in 1..4:
|
for i in 1..4:
|
||||||
{.unroll.}
|
|
||||||
if g.buf[pos] in hexChars: inc(pos)
|
if g.buf[pos] in hexChars: inc(pos)
|
||||||
break
|
break
|
||||||
of 'U':
|
of 'U':
|
||||||
inc(pos)
|
inc(pos)
|
||||||
for i in 1..8:
|
for i in 1..8:
|
||||||
{.unroll.}
|
|
||||||
if g.buf[pos] in hexChars: inc(pos)
|
if g.buf[pos] in hexChars: inc(pos)
|
||||||
break
|
break
|
||||||
else: inc(pos)
|
else: inc(pos)
|
||||||
|
|
@ -802,7 +799,6 @@ proc yamlNextToken(g: var GeneralTokenizer) =
|
||||||
if pos == 0 or g.buf[pos - 1] in {'\x0A', '\x0D'}:
|
if pos == 0 or g.buf[pos - 1] in {'\x0A', '\x0D'}:
|
||||||
inc(pos)
|
inc(pos)
|
||||||
for i in 1..2:
|
for i in 1..2:
|
||||||
{.unroll.}
|
|
||||||
if g.buf[pos] != '.': break
|
if g.buf[pos] != '.': break
|
||||||
inc(pos)
|
inc(pos)
|
||||||
if pos == g.start + 3:
|
if pos == g.start + 3:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue