diff options
author | Soheil Hassas Yeganeh <soheil@google.com> | 2018-09-25 16:48:14 -0400 |
---|---|---|
committer | Soheil Hassas Yeganeh <soheil@google.com> | 2018-09-25 16:48:14 -0400 |
commit | 46a97e5f550f12c9b1dbef7657a0ff42694a0932 (patch) | |
tree | 0fc8171146f99891cb90c220c3d171c35b4741ca /tools/internal_ci/windows/pull_request | |
parent | ccbad108e45afb7c4fb361202cc0bae5ad7e5da2 (diff) |
Avoid extra branches in grpc_error_get_(str|int).
Moving the check for "which" inside the for loop, will let the compiler
unroll the loop and merge it with the branches grpc_error_is_especial.
This is visible in the following godbolts:
Before: https://godbolt.org/z/Nqujh1
After: https://godbolt.org/z/fA2PX-
Diffstat (limited to 'tools/internal_ci/windows/pull_request')
0 files changed, 0 insertions, 0 deletions