= ToMachine <> is a translation pass from the <> <> to the <> <>. == Description This pass converts from a <> program into a <> program. It uses <>, <>, and <>. == Implementation * https://github.com/MLton/mlton/blob/master/mlton/backend/backend.sig[`backend.sig`] * https://github.com/MLton/mlton/blob/master/mlton/backend/backend.fun[`backend.fun`] == Details and Notes Because the MLton runtime system is shared by all <>, it is most convenient to decide on stack layout _before_ any <> takes over. In particular, we compute all the stack frame info for each <> function, including stack size, <> masks for each frame, etc. To do so, the <> <> imagines an abstract machine with an infinite number of temporaries of every size. A liveness analysis determines, for each variable, whether or not it is live across a point where the runtime system might take over (for example, any garbage collection point) or a non-tail call to another <> function. Those that are live go on the stack, while those that aren't live go into temporaries. From this information, we know all we need to about each stack frame. On the downside, nothing further on is allowed to change this stack info; it is set in stone.