dart-sdk/runtime
Alexander Markov 967f583e41 [vm/test] Make sure argument is unboxed both with and without sound null safety
Without sound null safety result of int.parse is inferred as nullable,
making the IL test vm/dart/records_allocation_sinking_il_test dependent on
the sound null safety mode.

The test is changed so the argument 'x' of 'test' is always non-nullable
and always unboxed.

Follow-up to the unboxing fix
85d1a7752e

TEST=vm/dart/records_allocation_sinking_il_test

Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-nnbd-linux-release-x64-try
Change-Id: I9c532a644d03e0fdb7b70875c323fcbbb5238948
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/284382
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
2023-02-21 20:36:22 +00:00
..
bin [vm] Improve crash reporting for gen_snapshot on Windows. 2023-02-14 17:56:30 +00:00
docs [vm/docs] Rename index.md to README.md 2023-02-16 17:19:13 +00:00
include [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
lib Revert part of "[vm] Allow sharing of deeply immutable lists across isolates" 2023-02-10 20:25:59 +00:00
observatory [VM/Service] Make _getInstancesAsArray public 2023-02-21 17:26:52 +00:00
observatory_2 [VM/Service] Make _getInstancesAsArray public 2023-02-21 17:26:52 +00:00
platform [vm] Speed up JSON encoding. 2023-02-21 18:58:42 +00:00
tests [vm/test] Make sure argument is unboxed both with and without sound null safety 2023-02-21 20:36:22 +00:00
third_party Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
tools Support external typed data in heapsnapshot analysis tool 2023-02-21 12:58:34 +00:00
vm [vm] Lock-free management of the profiler's sample blocks. 2023-02-21 19:07:57 +00:00
.clang-tidy
.gitignore
BUILD.gn Spelling 2023-01-24 18:00:25 +00:00
codereview.settings
configs.gni [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
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 Reland "[build] Make build_analyze_snapshot consistent between the host and target toolchains." 2023-02-07 18:45:20 +00:00