b231a373bf
Since we're adding the classes in a known order, we can calculate how many unrelated classes are needed to align the cids from the next cid to be allocated. TEST=TTS_Regress_CidRangeChecks Fixes https://github.com/dart-lang/sdk/issues/48673 Change-Id: I04b750c64cf739bc6ba0bda2a93373a6443cedaf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/239025 Reviewed-by: Clement Skau <cskau@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>