Reviewers: dcarney, Sven Panne,

Message:
dcarney, svenpanne, ptal.

Description:
New Compilation API.

- Distinguish between ContextBoundScript and ContextUnboundScript.
- Add ScriptCompiler (which will later contain functions for async compilation).

This is a breaking change, in particular, Script::New no longer exists (it is replaced by ScriptCompiler::CompileContextUnbound). Script::Compile remains as a
backwards-compatible shorthand for ScriptCompiler::CompileContextBound.

BUG=

Please review this at https://codereview.chromium.org/186723005/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+400, -266 lines):
  M include/v8.h
  M samples/lineprocessor.cc
  M samples/shell.cc
  M src/api.h
  M src/api.cc
  M src/d8.cc
  M test/cctest/cctest.h
  M test/cctest/test-api.cc
  M test/cctest/test-cpu-profiler.cc
  M test/cctest/test-debug.cc
  M test/cctest/test-log.cc
  M test/cctest/test-parsing.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to