mirror of https://github.com/KarolS/millfork.git
13 lines
410 B
Scala
13 lines
410 B
Scala
package millfork.compiler
|
|
|
|
import millfork.{CompilationFlag, CompilationOptions}
|
|
import millfork.env.{Environment, MangledFunction, NormalFunction}
|
|
|
|
/**
|
|
* @author Karol Stasiak
|
|
*/
|
|
case class CompilationContext(env: Environment, function: NormalFunction, extraStackOffset: Int, options: CompilationOptions){
|
|
|
|
def addStack(i: Int): CompilationContext = this.copy(extraStackOffset = extraStackOffset + i)
|
|
}
|