dart-sdk/runtime
Martin Kustermann 32dfefbea1 [vm/compiler] Fix incorrect write-barrier elimination
If there is a GC-triggering instruction between array allocation and
store into array we cannot omit the barrier. This worked for stores
where the receiver is a direct array allocation, but not if it's a phi.

Closes https://github.com/dart-lang/sdk/issues/43786
Closes https://github.com/dart-lang/sdk/issues/43770

Change-Id: I28de29cf85842a9d3ae3189bb8e6426969fe4279
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167570
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2020-10-15 10:40:43 +00:00
..
bin [vm/win] Use Utils::StrDup instead of strdup to avoid deprecated warnings 2020-10-12 20:24:22 +00:00
docs decode tool from native_stack_trace 2020-08-27 10:00:37 +00:00
include [vm/nnbd] Add separate Snapshot::Kind for core snapshots 2020-10-08 19:59:15 +00:00
lib [vm] Clean up handling of payload-containing objects. 2020-10-06 07:59:33 +00:00
llvm_codegen [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
observatory [vm, service, observatory] Bang Bang (My Type System Shot Me Down). 2020-10-14 18:16:27 +00:00
observatory_2 [gardening] Reduce number of samples expected in service/get_cpu_samples_rpc_test, take 2 2020-10-12 23:23:02 +00:00
platform [vm] Add (S)LEB128 encoding/decoding to BaseWriteStream. 2020-10-09 10:08:16 +00:00
tests/vm Remove remaining tests for bytecode mode 2020-10-09 22:30:19 +00:00
third_party Reland "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-17 16:12:26 +00:00
tools Opt out some files from null safety. 2020-10-12 22:15:42 +00:00
vm [vm/compiler] Fix incorrect write-barrier elimination 2020-10-15 10:40:43 +00:00
.clang-tidy [vm] Add runtime/.clang-tidy file 2019-09-05 09:51:13 +00:00
.gitignore
BUILD.gn [flutter] Fix GN typo 2020-09-25 15:16:14 +00:00
codereview.settings
configs.gni Reland "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-17 16:12:26 +00:00
CPPLINT.cfg
PRESUBMIT.py [Presubmit] Fixes presubmit for breaking API change. 2020-03-03 13:30:20 +00:00
runtime_args.gni [SDK] - Remove support for option '--custom-for-pub' in make_version.py 2020-08-26 03:46:33 +00:00