Reviewers: rossberg,
Description:
Add basic compilation support for modules
This adds an "experimental" API hook (v8::ScriptCompiler::CompileModule)
allowing compilation of modules. The code gen is incredibly basic: the
module body is represented by a Block in the AST. But this at least gets
more of the pipeline working, and opens the door to writing mjsunit tests
(once d8 is modified to support module compilation).
BUG=v8:1569
Please review this at https://codereview.chromium.org/902093002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+158, -122 lines):
M include/v8.h
M src/api.cc
M src/bootstrapper.cc
M src/compiler.h
M src/compiler.cc
M src/debug.cc
M src/full-codegen.cc
M src/parser.h
M src/parser.cc
M test/cctest/cctest.h
M test/cctest/cctest.gyp
M test/cctest/compiler/test-linkage.cc
M test/cctest/test-compiler.cc
A test/cctest/test-modules.cc
M test/cctest/test-serialize.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.