diff options
Diffstat (limited to 'compiler/sjs/backend/sjs/GenSJSIR.scala')
-rw-r--r-- | compiler/sjs/backend/sjs/GenSJSIR.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/compiler/sjs/backend/sjs/GenSJSIR.scala b/compiler/sjs/backend/sjs/GenSJSIR.scala new file mode 100644 index 000000000..819a8f0e3 --- /dev/null +++ b/compiler/sjs/backend/sjs/GenSJSIR.scala @@ -0,0 +1,14 @@ +package dotty.tools.backend.sjs + +import dotty.tools.dotc.core._ +import Contexts._ +import Phases._ + +/** Generates Scala.js IR files for the compilation unit. */ +class GenSJSIR extends Phase { + def phaseName: String = "genSJSIR" + + def run(implicit ctx: Context): Unit = { + new JSCodeGen().run() + } +} |