remove interms field from MachineState

This commit is contained in:
Mark Thom
2025-11-24 22:19:09 -08:00
parent e4d9692535
commit f2e044e5b8
8 changed files with 258 additions and 212 deletions

View File

@@ -951,8 +951,8 @@ fn generate_instruction_preface() -> TokenStream {
fn into_functor(self, arena: &mut Arena) -> MachineStub {
match self {
ArithmeticTerm::Reg(r) => reg_type_into_functor(r),
ArithmeticTerm::Interm(i) => {
functor!(atom!("intermediate"), [fixnum(i)])
ArithmeticTerm::IntermReg(i) => {
functor!(atom!("x"), [fixnum(i)])
}
ArithmeticTerm::Number(n) => {
functor!(atom!("number"), [number(n, arena)])