Add script streaming API.
authormarja@chromium.org <marja@chromium.org>
Thu, 11 Sep 2014 11:06:26 +0000 (11:06 +0000)
committermarja@chromium.org <marja@chromium.org>
Thu, 11 Sep 2014 11:06:26 +0000 (11:06 +0000)
commit61c9683d712e5f168b34ca79d6e94a10bb30e59f
tree8f9a44e583eaf02c166e7cc4d58d48974a9dc076
parentbfa3884ae0c84faa695b5ae24de598c1e0cc3ec9
Add script streaming API.

Blink will use this API to stream script data into V8 as the scripts
load. During loading, V8 can already parse the scripts. They will be then
compiled and executed when the loading is complete.

BUG=
R=jochen@chromium.org, rossberg@chromium.org, svenpanne@chromium.org, yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23865 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
BUILD.gn
include/v8.h
src/api.cc
src/background-parsing-task.cc [new file with mode: 0644]
src/background-parsing-task.h [new file with mode: 0644]
src/compiler.cc
src/compiler.h
src/parser.cc
src/parser.h
src/scanner-character-streams.cc
src/scanner-character-streams.h
test/cctest/test-api.cc
tools/gyp/v8.gyp