Skip to content

Commit

Permalink
fix cardpush
Browse files Browse the repository at this point in the history
  • Loading branch information
MishinaHaruto committed Dec 12, 2024
1 parent 63cc9e8 commit cba15ab
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/vm/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1246,10 +1246,12 @@ void print_op(LmnInstrOp op){
std::cout << "lockmem" << std::endl;
} else if (op == INSTR_NEQATOM) {
std::cout << "neqatom" << std::endl;
} else if (op == INSTR_NEWATOM) {
} else if (op == INSTR_NEQMEM) {
std::cout << "neqmem" << std::endl;
} else if (op == INSTR_NEWATOM) {
std::cout << "newatom" << std::endl;
} else if (op == INSTR_NEWMEM) {
std::cout << "newmem" << std::endl;
} else if (op == INSTR_REMOVEATOM) {
std::cout << "removeatom" << std::endl;
} else if (op == INSTR_FREEATOM) {
Expand Down Expand Up @@ -1316,7 +1318,7 @@ bool slim::vm::interpreter::exec_command(LmnReactCxt *rc, LmnRuleRef rule,
if (lmn_env.find_atom_parallel)
return FALSE;

// print_op(op);
// print_op(op); // 後で消す
switch (op) {
case INSTR_SPEC: {
LmnInstrVar s0;
Expand Down Expand Up @@ -4867,7 +4869,7 @@ bool slim::vm::interpreter::exec_command(LmnReactCxt *rc, LmnRuleRef rule,
this->rc->reg(dstqueue) = {(LmnWord)card, 0, TT_CARD};
}
((LmnCardRef)(this->rc->wt(dstqueue)))->push_map(map);
return FALSE;
break;
}
/* QLMNtal */
case INSTR_CARDPICK: {
Expand Down

0 comments on commit cba15ab

Please sign in to comment.