Go to file
yangguo 22e6958d63 Fix remaining issues in the custom snapshot.
Math functions:
Some Math functions require typed arrays for their implementation. The embedded
script may call those Math functions. The serializer needs to deal with this.
Added assertion to make sure no other typed array is created when snapshotting.

Number-string cache:
We assume that the initial snapshot does not expand the number-string cache.
This is no longer true for custom heap snapshots.

Bound functions:
Bound functions store the bound arguments in a COW fixed array, including the
bindee function. COW arrays are serialized into the startup snapshot and
referenced in the partial snapshot via partial snapshot cache. However, the
bindee function is context-dependent and must not be part of the startup
snapshot. There is no need for bound functions to use a COW array though.

R=jochen@chromium.org

Review URL: https://codereview.chromium.org/851073002

Cr-Commit-Position: refs/heads/master@{#26072}
2015-01-15 11:22:17 +00:00
benchmarks Revert "Refactoring: Make gtest testsuite the default." 2014-09-02 09:17:26 +00:00
build Remove unused iossim setting from mac asan config 2015-01-12 12:25:17 +00:00
include Remove support for signatures with arguments 2015-01-14 14:44:10 +00:00
samples Add interceptor support for symbols 2014-11-27 10:21:39 +00:00
src Fix remaining issues in the custom snapshot. 2015-01-15 11:22:17 +00:00
test Fix remaining issues in the custom snapshot. 2015-01-15 11:22:17 +00:00
testing [turbofan] Generalize constant propagation. 2015-01-07 08:24:38 +00:00
tools Revert of Auto-generate v8 version based on tags. (patchset #5 id:80001 of https://codereview.chromium.org/797503007/) 2015-01-15 08:01:11 +00:00
.clang-format Change clang-format config to allow for two empty lines between functions 2013-12-03 10:39:21 +00:00
.gitignore Add support for downloading clang 2014-11-27 10:29:51 +00:00
AUTHORS Saner AUTHORS, part 2: Adding AUTHORS based on "Patch from" / "Patch by" lines. 2015-01-14 13:23:47 +00:00
BUILD.gn Revert of Auto-generate v8 version based on tags. (patchset #5 id:80001 of https://codereview.chromium.org/797503007/) 2015-01-15 08:01:11 +00:00
ChangeLog Upgrade version and change log after branch. 2014-11-10 10:41:13 +00:00
codereview.settings Make codereview.settings ready for git. 2014-11-12 17:40:32 +00:00
DEPS Update V8 DEPS. 2015-01-15 06:29:50 +00:00
LICENSE Update LICENSE date. 2014-02-18 10:50:22 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Update gyp files to guarantee proper recreation when changing deps 2015-01-14 12:48:36 +00:00
Makefile.android Fix ARM64 build 2014-12-08 13:04:17 +00:00
Makefile.nacl Use the pnacl-clang toolchain for (P)NaCL builds 2014-10-06 08:10:50 +00:00
OWNERS Add myself to OWNERS 2014-12-08 05:46:46 +00:00
PRESUBMIT.py Update default trybots. 2014-11-19 13:00:16 +00:00
README.md Update all DEPS to match chromium's DEPS at edb488e 2014-12-08 12:27:26 +00:00
WATCHLISTS Add myself to a watchlist for the public API. 2013-10-10 11:37:48 +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://code.google.com/p/v8/

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/*