UNOPTIMIZED

Unoptimized code, interpreted via Level One machinery. Technically the current implementation only executes Level Two code, but the default Level Two chunk relies on a Level Two instruction that simply fetches each nybblecode and interprets it.

The countdown is very small to encourage early translation of any function that is executed even a small number of times.

Functions

Link copied to clipboard
open override fun optimize(code: A_RawFunction, interpreter: Interpreter)

Perform this level of optimization on the given A_RawFunction.

Properties

Link copied to clipboard
val countdown: Long

The value to use for the countdown after the translation at this level has taken place (i.e., how many calls to endure before the next level of optimization is attempted).

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int