Simplify ClampedSubOp and ClampedAddOp
This is a speculative change to track down a potential performance
regression on MSVC. It reverts changes from crrev.com/505494 such that
the remaining change has no other effect than applying constexpr.
Bug: 770832
Change-Id: Ib700270bbf59002336f16b63acbb3b91c00a24dd
Reviewed-on: https://chromium-review.googlesource.com/711114
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Justin Schuh <jschuh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508551}
CrOS-Libchrome-Original-Commit: 5ec7403b4e7843336ec726a4668ae78cc5ed53e2
1 file changed