Go to file
Clemens Backes 16fb5ccfa5 [wasm] Add comment about WasmOpcode encoding
As a follow-up to https://crrev.com/c/3625835, document how we
internally encode Wasm opcodes in the WasmOpcode enum. In particular,
it's important for the mapping to be bijective.

R=thibaudm@chromium.org
CC=gdeepti@chromium.org

Bug: v8:12284
Change-Id: Ic4bcd70211e83b1eabb45204bdcce3209a4432b3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3647360
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80635}
2022-05-19 10:40:05 +00:00
.github
bazel [build] Fix bazel build 2022-05-13 07:16:26 +00:00
build_overrides
custom_deps
docs
gni cppgc: Introduce pointer compression based on thread-local base 2022-05-13 11:15:43 +00:00
include [wasm] Deprecate "dynamic tiering enabled" callback 2022-05-19 09:59:43 +00:00
infra [infra] Double the shards for v8_linux64_heap_sandbox_dbg_ng_triggered 2022-05-17 14:07:24 +00:00
samples [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
src [wasm] Add comment about WasmOpcode encoding 2022-05-19 10:40:05 +00:00
test [wasm] Add comment about WasmOpcode encoding 2022-05-19 10:40:05 +00:00
testing [test] Migrate cctest/test-api-accessors.cc to unittests/ 2022-05-17 08:27:55 +00:00
third_party Convert inspector_protocol/roll.py to python3 2022-03-24 18:07:17 +00:00
tools [v8windbg] Skip undefined types in Torque structs 2022-05-18 15:24:09 +00:00
.bazelrc [bazel] Use v8_enable_handle_zapping only in debug builds. 2022-01-11 11:32:39 +00:00
.clang-format
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore [infra] Fork test262-harness 2022-02-23 18:47:35 +00:00
.gn
.mailmap
.style.yapf [tools] Add basic pointer compression to grokdump 2022-02-04 14:35:26 +00:00
.vpython
.vpython3 Use numpy 1.2x.supported.1 in V8 2022-03-03 15:21:21 +00:00
.ycm_extra_conf.py
AUTHORS Fix typos, shit_right -> shift_right 2022-05-06 07:51:55 +00:00
BUILD.bazel [turboshaft] add basic optimization phase: liveness analysis 2022-05-18 17:17:07 +00:00
BUILD.gn [turboshaft] add basic optimization phase: liveness analysis 2022-05-18 17:17:07 +00:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS add tebbi@chromium.org to COMMON_OWNERS 2022-03-08 14:08:25 +00:00
DEPS Update V8 DEPS. 2022-05-19 03:54:43 +00:00
DIR_METADATA
ENG_REVIEW_OWNERS
INFRA_OWNERS
INTL_OWNERS
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LOONG_OWNERS
MIPS_OWNERS
OWNERS Let infra owners own all dot files 2021-11-05 18:57:18 +00:00
PPC_OWNERS
PRESUBMIT.py [infra] use format strings instead of .format 2022-03-15 11:31:40 +00:00
README.md
RISCV_OWNERS
S390_OWNERS
WATCHLISTS Update WATCHLISTS 2022-02-24 11:37:36 +00:00
WORKSPACE [bazel] Cleanup style with Buildifier. 2022-01-11 10:00:36 +00:00

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://v8.dev/docs

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 at v8.dev/docs/contribute.