-
Jakob Kummerow authored
Previously, we performed "is A subtype of B?" checks by walking A's supertypes list and comparing every found type to B. This CL stores not just A's immediate parent type on A, but its entire list of supertypes, and uses that list plus compile-time knowledge of B's distance to the root type in order to compare only exactly one of A's supertypes to B. Bug: v8:7748 Change-Id: I0011b72c4b54440b16494918f64d8fb119bef8b0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2527097 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/master@{#71127}
8d611a87