Files
sdk/runtime/tests/vm
Alexander Markov 48124495f6 [vm/compiler] Do not forward loads of late fields to the uninitialized sentinel
This change avoids incorrect load forwarding when a load which calls
initializer is forwarded to a value which can potentially be
uninitialized sentinel.

If the value is actually uninitialized, then such load should
invoke initializer which may throw an exception or produce a different
value.

TEST=runtime/tests/vm/dart/regress_48043_test.dart
Fixes https://github.com/dart-lang/sdk/issues/48043

Change-Id: I48ee571747557b8a31e1afde67989809859ac6fa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/226281
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2022-01-05 16:11:54 +00:00
..