about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2016-04-09 17:11:20 -0700
committerRaph Levien <raph@google.com>2016-04-09 17:16:54 -0700
commitb2db97347bc4373deea24eb7b7c6ecffb117fd8c (patch)
treeb56edebcd2012961de7fa7ecb829bb4c5afd2869 /src/libsyntax/errors
parent526f2bf5c534308193246e13ab2da8b3c0cf3cbb (diff)
downloadrust-b2db97347bc4373deea24eb7b7c6ecffb117fd8c.tar.gz
rust-b2db97347bc4373deea24eb7b7c6ecffb117fd8c.zip
Bit-magic for faster is_char_boundary
The asm generated for b < 128 || b >= 192 is not ideal, as it computes
both sub-inequalities. This patch replaces it with bit magic.

Fixes #32471
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions