Reviewers: rossberg,

Message:
Not sure who the best reviewers are for the d8 and testcfg changes. CCed
machenbach and yangguo, as they've both touched nearby code relatively recently.

Description:
Enable compiling mjsunit tests as ES6 modules

Adding the line "// MODULE" to an mjsunit file will now cause
run-tests.py to prefix the test case with "--module" in the
d8 commandline.

d8 has itself been updated to treat files preceded with "--module" as
modules (that is, it compiles them with ScriptCompiler::CompileModule,
and turns on --harmony-modules).

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

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+104, -142 lines):
  M src/d8.h
  M src/d8.cc
  M test/cctest/cctest.gyp
  D test/cctest/test-modules.cc
  D test/mjsunit/harmony/module-parsing.js
  A + test/mjsunit/harmony/module-parsing-eval.js
  A + test/mjsunit/harmony/modules.js
  M test/mjsunit/testcfg.py


--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to