Reviewers: dcarney,

Message:
Committed patchset #1 manually as r19925 (presubmit successful).

Description:
New Compilation API, part 1, try 2

- Distinguish between context bound scripts (Script) and context unbound scripts
(UnboundScript).
- 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::CompileUnbound). Script::Compile remains as a
backwards-compatible shorthand for ScriptCompiler::Compile.

Passing CompilerOptions with produce_data_to_cache = true doesn't do anything yet; the only way to generate the data to cache is the old preparsing API. (To
be fixed in the next version.)

This is a fixed version of https://codereview.chromium.org/186723005/

BUG=
[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=19925

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

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

Affected files (+427, -276 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 src/heap.cc
  M src/profile-generator-inl.h
  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