476f915edb
This reverts commitc5d973d942and commit5e77a23604because the later breaks hot reload constant rehashing which can't handle constant set which include vm-isolate objects. Instead we expand standalone cache to cache descriptors with 1 type argument and 0, 1 or 2 arguments. This covers all descriptors used in stubs. Fixes b/429384250 TEST=ci Cq-Include-Trybots: luci.dart.try:vm-aot-linux-debug-x64-try,vm-linux-debug-x64-try Change-Id: I2058d3da9609821c1b3272db2f1ed4d9d3c3216a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/438720 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>