Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm] Check hash-based caches in the DRT_InstanceOf runtime entry.
We added a hash-based cache check in DRT_TypeCheck until the SubtypeNTestCache stubs handle hash-based caches to avoid doing the full runtime check when unnecessary, but did not do so for DRT_InstanceOf. This fixes that until an upcoming CL that adds support for hash-based caches in the SubtypeNTestCacheStubs lands. TEST=Manual inspection of profiles before and after change. Not adding an automated test as this change is a temporary bandaid similar to the tested path in DRT_TypeCheck that will be removed soon. Change-Id: I905a0fc6f501c68d66ae1ee848631c40cad04af2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310882 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
- Loading branch information