Add script streaming API.
authormarja@chromium.org <marja@chromium.org>
Fri, 12 Sep 2014 09:12:08 +0000 (09:12 +0000)
committermarja@chromium.org <marja@chromium.org>
Fri, 12 Sep 2014 09:12:08 +0000 (09:12 +0000)
commiteb19fc013a3487a68ab02b38518d9722c7edc9ce
tree75575d2345bd2c2a810344758583fd1196633d82
parent4de58e49fda65f19f3583549642ab23318fa4e42
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.

This is a reincarnation of https://codereview.chromium.org/366153002/
with fixes.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23904 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