dart-sdk/runtime
Vyacheslav Egorov 2f117ba43c [vm/aot] Fix ProgramElementKeyValueTrait::Hash.
It was returning library's index which is an unstable
value. This instability could cause `Precompiler::HasApiUse`
to stop returning `true` after `Precompiler::DropLibraries` even
if library was added to the `api_uses_` set. This in turn could cause
`Precompiler::PruneDictionaries` to drop library entries it should
not have dropped.

TEST=added assertion that verifies stability of the set

Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try
Change-Id: I0685bd75562f83e2b9d8b3a03fa410ba218df2ea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275241
Reviewed-by: Tess Strickland <sstrickl@google.com>
Auto-Submit: Slava Egorov <vegorov@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
2022-12-13 19:46:41 +00:00
..
bin Revert "[VM/CLI] Remove dartdev.dill" 2022-12-13 15:28:19 +00:00
docs [vm] Runtime type check in await 2022-12-07 22:46:22 +00:00
include [3.0 alpha][VM/Runtime] - Flip flag to make strong null safety the default. 2022-12-06 04:04:23 +00:00
lib [vm/ffi] Fix FfiTrampolineData GC bug 2022-12-12 15:46:33 +00:00
observatory [ VM Service / DDS ] Add custom service stream support (Revised) 2022-12-13 16:31:37 +00:00
observatory_2 [ VM Service / DDS ] Add custom service stream support (Revised) 2022-12-13 16:31:37 +00:00
platform [vm/api] Introduce Dart_WriteHeapSnapshot API 2022-12-01 14:38:44 +00:00
tests [3.0 alpha] Remove deprecated dart:core apis 2022-12-12 11:46:58 +00:00
third_party [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
tools [3.0 alpha] Remove deprecated dart:core apis 2022-12-12 11:46:58 +00:00
vm [vm/aot] Fix ProgramElementKeyValueTrait::Hash. 2022-12-13 19:46:41 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
codereview.settings
configs.gni [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
CPPLINT.cfg
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py [python3] Migrate PRESUBMIT.py files 2021-08-16 08:29:54 +00:00
runtime_args.gni [VM] error: ‘mallinfo mallinfo()’ is deprecated 2021-12-08 00:25:10 +00:00