-
Andreas Haas authored
I realized that the parameter order of ValuesTypes::IsSubType is inconsistent with the parameter of e.g. DCHECK_LT. DCHECK_LT(a, b) is satisfied if a < b. For ValueTypes it was the other way around. ValueTypes::IsSubType(a, b) returned true if b was a subtype of a. R=mstarzinger@chromium.org Bug: v8:9183 Change-Id: Ifb192bbecdcfe002ef8ca0887d1497393e16e11e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649358Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#62050}
8ea6d397