[wasm-interpreter] Emit write barriers for WasmGC ref field stores Route tagged stores in WasmStruct and WasmArray new instructions, as well as ref field stores, through StoreRefIntoMemory with a CONDITIONAL_WRITE_BARRIER, so OLD_TO_NEW references from interpreter-allocated WasmStruct/WasmArray objects are tracked correctly. Also fixes a few build breaks caused by the Tagged<T> refactoring and by a new `allocation` argument in `NewWasmArrayUninitialized`. Change-Id: Ic034ae000aabe5ac8f75641d4f6a08600405d726 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7791175 Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Paolo Severini <paolosev@microsoft.com> Cr-Commit-Position: refs/heads/main@{#106825}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Chromium, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://v8.dev/docs
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run
git pull origin
gclient sync
For fetching all branches, add the following into your remote configuration in .git/config:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned at v8.dev/docs/contribute.