Go to file
Peter Marshall 06f5f84656 [runtime] Align Seq{One,Two}ByteString::kMaxSize.
Because SizeFor only returns aligned values, when we check values
returned there against kMaxSize, they can be larger if they were
rounded up.

It wasn't possible to write a test for the 2-byte version that didn't
regularly OOM.

Bug: chromium:752764
Change-Id: Id2f387449e0fafe633a2fde1ac728be31487f62d
Reviewed-on: https://chromium-review.googlesource.com/607935
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47252}
2017-08-09 14:48:54 +00:00
benchmarks Fix common misspellings 2017-08-02 09:35:28 +00:00
build_overrides
docs
gni add gn jumbo build support 2017-08-09 09:05:29 +00:00
gypfiles Fix common misspellings 2017-08-02 09:35:28 +00:00
include Add get current wall-clock time to the Platform 2017-08-09 05:55:23 +00:00
infra
samples Fix common misspellings 2017-08-02 09:35:28 +00:00
src [runtime] Align Seq{One,Two}ByteString::kMaxSize. 2017-08-09 14:48:54 +00:00
test [runtime] Align Seq{One,Two}ByteString::kMaxSize. 2017-08-09 14:48:54 +00:00
testing
third_party
tools Revert "[parser] Turn FLAG_experimental_preparser_scope_analysis on." 2017-08-09 13:55:47 +00:00
.clang-format
.editorconfig
.gitignore
.gn
.ycm_extra_conf.py
AUTHORS
BUILD.gn Revert "Reland ^3 "[builtins] Port getting property from Proxy to CSA""" 2017-08-09 13:37:37 +00:00
ChangeLog
CODE_OF_CONDUCT.md
codereview.settings
DEPS Update V8 DEPS. 2017-08-09 03:53:03 +00:00
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LICENSE.valgrind
Makefile
Makefile.android
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.