• adamk's avatar
    Enable compiling mjsunit tests as ES6 modules · a18b797f
    adamk authored
    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).
    
    Review URL: https://codereview.chromium.org/902263002
    
    Cr-Commit-Position: refs/heads/master@{#26555}
    a18b797f
d8.h 14.4 KB