Files
sdk/runtime/vm
Alexander Markov 69b84908a5 [vm,arm] Fix for crash in Subtype6TestCache on 32-bit arm
On 32-bit arm, when generating subtype test cache stub,
[delayed_type_args_reg] could be the same as [TypeTestABI::kInstanceReg]
(due to lack of registers).

As a result, when loading delayed type arguments from an instantiated
generic closure, [TypeTestABI::kInstanceReg] is eagerly overwritten,
which results in garbage delayed type arguments.

With the linear probe cache this would cause repeated cache misses.
With the hash-based cache this would cause a crash.

Bug: b/507666702
Change-Id: I1093f9277d874154a121ef644ecd7aa76320f789
TEST=runtime/tests/vm/dart/regress_b_507666702_test.dart
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/500842
Reviewed-by: Tess Strickland <sstrickl@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2026-05-06 06:41:04 -07:00
..
2024-07-23 10:43:43 +00:00
2026-04-29 08:10:43 -07:00
2024-04-17 19:14:41 +00:00
2026-04-13 10:10:42 -07:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-03-04 12:40:19 -08:00
2026-03-04 12:40:19 -08:00
2026-03-04 12:40:19 -08:00
2024-03-20 20:08:13 +00:00
2026-01-27 09:14:39 -08:00
2026-04-08 14:17:21 -07:00
2026-03-04 12:40:19 -08:00
2026-04-28 15:51:33 -07:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-04-15 09:37:41 -07:00
2026-01-27 09:14:39 -08:00
2026-03-04 12:40:19 -08:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00
2026-04-29 08:10:43 -07:00
2024-04-17 19:14:41 +00:00
2026-01-27 09:14:39 -08:00
2026-01-27 09:14:39 -08:00