DescriptionNew Compilation API, part 1
- 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.)
BUG=
R=dcarney@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=19881
Patch Set 1 : . #Patch Set 2 : . #
Total comments: 14
Patch Set 3 : Code review (dcarney) #Patch Set 4 : more backwards compatibility #Patch Set 5 : rebased #Patch Set 6 : . #
Messages
Total messages: 8 (0 generated)
|