aboutsummaryrefslogtreecommitdiff
path: root/sjs/backend/sjs/GenSJSIR.scala
blob: 819a8f0e37f656f0f75023b1fa9473016156d114 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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()
  }
}