Core specification that this linker backend implements.
Core specification that this linker backend implements.
Emit the given ModuleSet to the target output.
Emit the given ModuleSet to the target output.
ModuleSet to emit
Directory to write to
Logger to use
Additional IR files to inject for linking, mandated by this back-end.
Additional IR files to inject for linking, mandated by this back-end.
Example: the standard emitter back-end injects RuntimeLong.sjsir
and
its companion object, unless it uses BigInt
s to implement Long
s.
Symbols this backend needs to be present in the linking unit.
Symbols this backend needs to be present in the linking unit.
Verify that a ModuleSet
can be processed by this LinkerBackend
.
Verify that a ModuleSet
can be processed by this LinkerBackend
.
Currently, this only tests that the module set core specification matches coreSpec.
In the future, this test could be extended to test symbolRequirements too.
java.lang.IllegalArgumentException
if there is a mismatch
The Closure backend of the Scala.js linker.
Runs a the Google Closure Compiler in advanced mode on the emitted code. Use this for production builds.