Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion smart_ir/src/ir_codegen/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
// }

for ir_module in &self.ir_modules {
// scan all module's func defintions to use in other modules
// scan all module's func definitions to use in other modules
for (_, function) in &ir_module.functions {
self.func_definitions.borrow_mut().push(function.clone());
}
Expand Down
2 changes: 1 addition & 1 deletion smart_ir/src/ir_codegen/ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
} else {
return Err(CodeGenError {
message:
"try to get field from a pointer whose elemet isn't a struct"
"try to get field from a pointer whose element isn't a struct"
.to_string(),
});
}
Expand Down