Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions compiler/llvm_backend/src/codegen.rs
Original file line numberDiff line numberDiff line change
Expand Up@@ -125,8 +125,7 @@ impl<'a> CodegenEngine<'a> {
LLVMBuildBr(self.ctx.builder, dest_block);
}
TerminatorKind::Throw(_) => {
// TODO: Implement exception handling or unwind
LLVMBuildUnreachable(self.ctx.builder);
return Err("Exception handling (throw) is not yet implemented in the LLVM backend".to_string());
}
TerminatorKind::ConditionalJump {
cond,
Expand Down
Loading