Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions compiler/src/codegen/compcore.re
Original file line number Diff line number Diff line change
Expand Up @@ -2816,8 +2816,6 @@ and compile_instr = (wasm_mod, env, instr) => {
value,
);
[Expression.Return.make(wasm_mod, value)];
| MArityOp(_) => failwith("NYI: (compile_instr): MArityOp")
| MTagOp(_) => failwith("NYI: (compile_instr): MTagOp")
};
};

Expand Down
19 changes: 0 additions & 19 deletions compiler/src/codegen/mashtree.re
Original file line number Diff line number Diff line change
Expand Up @@ -409,23 +409,6 @@ type allocation_type =
limbs: array(int64),
});

[@deriving sexp]
type tag_op =
| MCheckTag
| MAssertTag
| MAddTag
| MRemoveTag;

[@deriving sexp]
type arity_operand =
| MLambdaArity
| MTupleArity;

[@deriving sexp]
type arity_op =
| MGetArity
| MAssertArity(int32);

[@deriving sexp]
type tuple_op =
| MTupleGet(int32)
Expand Down Expand Up @@ -498,8 +481,6 @@ and instr_desc =
})
| MError(grain_error, list(immediate))
| MAllocate(allocation_type)
| MTagOp(tag_op, tag_type, immediate)
| MArityOp(arity_operand, arity_op, immediate)
| MIf(immediate, block, block)
| MFor(option(block), option(block), block)
| MContinue
Expand Down
Loading