Skip to content

Commit

Permalink
JIT/AArch64: Add code-generation for IR_TRAP
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Nov 22, 2023
1 parent 1d6cf22 commit 18a3192
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ir_aarch64.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -5320,6 +5320,9 @@ void *ir_emit_code(ir_ctx *ctx, size_t *size_ptr)
case IR_TLS:
ir_emit_tls(ctx, i, insn);
break;
case IR_TRAP:
| brk;
break;
default:
IR_ASSERT(0 && "NIY rule/instruction");
dasm_free(&data.dasm_state);
Expand Down

0 comments on commit 18a3192

Please sign in to comment.