fix(library/compiler/vm_compiler): add support for kernel projections
This commit is contained in:
parent
86d5ccf8f5
commit
cdc0a5ac29
1 changed files with 3 additions and 2 deletions
|
|
@ -283,8 +283,9 @@ class vm_compiler_fn {
|
|||
}
|
||||
}
|
||||
|
||||
void compile_proj_cnstr(expr const & /* e */, unsigned /* bpz */, name_map<unsigned> const & /* m */) {
|
||||
lean_unreachable();
|
||||
void compile_proj_cnstr(expr const & e, unsigned bpz, name_map<unsigned> const & m) {
|
||||
compile(proj_expr(e), bpz, m);
|
||||
emit(mk_proj_instr(proj_idx(e).get_small_value()));
|
||||
}
|
||||
|
||||
void compile(expr const & e, unsigned bpz, name_map<unsigned> const & m) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue