0427d9ff2a
Requesting reservation of a wasm section for experimentation with storing source code meta information, such as source code comments, and also extra inform on presentation of the AST such an `if-block` pattern being presented as a `when` operation. The wasm design already defines unrecognized sections to be ignored, and this reserved section is ignored. This section is only intended to hold source code meta information and to have no effect on code execution. With wasm going live (behind a flag) on v8, I would also like to be able to give people something to play with in terms of the deployed binary code being a useful source code. It's all experimental, but I understand the entire binary format that V8 is currently using is basically a throwaway, and that the working strategy is to get something running and then revisit format decisions. I would like a fixed reserved section number to avoid potential clashes with other projects - although I am not aware of any other calls for addition sections beyond the need for debug info. If a fixed number is not acceptable, then could this patch alternatively ignore all unrecognized sections and perhaps add the section size to them all - something which is already noted todo in the design document? BUG= Review URL: https://codereview.chromium.org/1565693002 Cr-Commit-Position: refs/heads/master@{#33165} |
||
---|---|---|
benchmarks | ||
build | ||
docs | ||
include | ||
infra | ||
samples | ||
src | ||
test | ||
testing | ||
third_party/binutils | ||
tools | ||
.clang-format | ||
.gitignore | ||
.ycm_extra_conf.py | ||
AUTHORS | ||
BUILD.gn | ||
ChangeLog | ||
codereview.settings | ||
DEPS | ||
LICENSE | ||
LICENSE.strongtalk | ||
LICENSE.v8 | ||
LICENSE.valgrind | ||
Makefile | ||
Makefile.android | ||
Makefile.nacl | ||
OWNERS | ||
PRESUBMIT.py | ||
README.md | ||
snapshot_toolchain.gni | ||
WATCHLISTS |
V8 JavaScript Engine
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 Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Getting the Code
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/*
Contributing
Please follow the instructions mentioned on the V8 wiki.