fix(arc): dev block opcode (#185)
This commit is contained in:
parent
2dbff1a408
commit
08405c0c90
@ -241,7 +241,12 @@ auto compiler::emit_stmt_comp(stmt_comp const& stm) -> void
|
||||
|
||||
auto compiler::emit_stmt_dev(stmt_dev const& stm) -> void
|
||||
{
|
||||
auto end = create_label();
|
||||
developer_thread_ = true;
|
||||
emit_opcode(opcode::OP_DevblockBegin, end);
|
||||
emit_stmt_list(*stm.block);
|
||||
insert_label(end);
|
||||
developer_thread_ = false;
|
||||
}
|
||||
|
||||
auto compiler::emit_stmt_expr(stmt_expr const& stm) -> void
|
||||
|
Loading…
Reference in New Issue
Block a user