mirror of
https://github.com/odin-lang/Odin.git
synced 2026-03-01 14:18:19 +00:00
Fix typo
This commit is contained in:
@@ -42,7 +42,7 @@ bool lb_is_type_aggregate(Type *t) {
|
||||
void lb_emit_unreachable(lbProcedure *p) {
|
||||
LLVMValueRef instr = LLVMGetLastInstruction(p->curr_block->block);
|
||||
if (instr == nullptr || !lb_is_instr_terminating(instr)) {
|
||||
lb_call_intrinsic(p, "trap", nullptr, 0, nullptr, 0);
|
||||
lb_call_intrinsic(p, "llvm.trap", nullptr, 0, nullptr, 0);
|
||||
LLVMBuildUnreachable(p->builder);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user