dart-sdk/pkg/vm
Daco Harkes a801368f80 [cfe/ffi] Only keep Finalizables alive after their declaration
We were adding fences around the variable declaration expressions
including the variable that was not declared. This led to verification
errors and crashes when not running the verifier.
`Verification error: Variable 'VariableDeclarationImpl(final MyFinalizable myFinalizable)' used out of scope.`

TEST=pkg/vm/testcases/transformations/ffi/regress_49075.dart

Closes: https://github.com/dart-lang/sdk/issues/49075
Change-Id: I1f07f0343d29c3efb3c63c0aa0e3f20338b5c653
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/246520
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2022-05-31 08:13:17 +00:00
..
bin Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
lib [cfe/ffi] Only keep Finalizables alive after their declaration 2022-05-31 08:13:17 +00:00
test Reland "[ Service ] Update VM service message to not reference Observatory" 2022-03-17 23:15:57 +00:00
testcases/transformations [cfe/ffi] Only keep Finalizables alive after their declaration 2022-05-31 08:13:17 +00:00
tool [vm/infra] Improve IL testing framework 2021-11-16 12:39:11 +00:00
analysis_options.yaml [cfe/ffi] Implement Finalizable 2022-02-05 11:54:59 +00:00
LICENSE
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml [pkg] prefer 'any' deps for package dev dependencies 2022-05-27 01:34:59 +00:00
README.md

This package hosts VM specific Dart code and helper scripts.