Go to file
Thibaud Michaud 08f0d06f65 [regalloc] Fix hint position cache
Attempt to fix regressions introduced by:
https://chromium-review.googlesource.com/c/v8/v8/+/2235117
{current_hint_position_} is not precise enough and can be null even if
the range contains hints.
Instead, repurpose it during register allocation so that it always holds
the last hint position found for this top level live range. This ensures
that each use position is visited at most once even when the range is
split.

R=neis@chromium.org
CC=​sigurds@chromium.org

Bug: v8:10533, chromium:1093435
Change-Id: I21f3f12f061c3e4c7e845d161b19de7499200c0c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2239568
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68319}
2020-06-12 10:04:19 +00:00
build_overrides tracing: Enable using Perfetto client library from Chromium 2020-05-11 11:17:57 +00:00
custom_deps
docs
gni Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
include cppgc: Rework pre-finalizer registration 2020-06-11 20:12:21 +00:00
infra Migrate v8_linux64_msan_rel to next-gen format 2020-05-15 14:13:12 +00:00
samples cppgc: Introduce AllocationHandle 2020-06-10 23:11:20 +00:00
src [regalloc] Fix hint position cache 2020-06-12 10:04:19 +00:00
test [compiler] Test linear search in a big DescriptorArray in the background 2020-06-12 09:57:09 +00:00
testing
third_party [torque] format namespaces without indentation 2020-05-12 14:06:17 +00:00
tools [wasm] Remove WasmDebugInfo and InterpreterHandle 2020-06-09 18:21:04 +00:00
.clang-format
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore Add third_party/jsoncpp/source to .gitignore 2020-04-29 07:20:41 +00:00
.gn
.vpython
.ycm_extra_conf.py
AUTHORS Added API to verify version match on snapshot blob 2020-05-25 08:52:48 +00:00
BUILD.gn cppgc: Rework pre-finalizer registration 2020-06-11 20:12:21 +00:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS [owners] Add thibaudm and ecmziegler to COMMON_OWNERS 2020-05-20 18:41:54 +00:00
DEPS Update V8 DEPS. 2020-06-12 03:49:29 +00:00
ENG_REVIEW_OWNERS
INFRA_OWNERS
INTL_OWNERS add ftang as owner 2020-04-24 19:19:36 +00:00
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LICENSE.valgrind
MIPS_OWNERS
OWNERS
PPC_OWNERS
PRESUBMIT.py
README.md
S390_OWNERS
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://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.