Skip to content
Closed
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
1 change: 1 addition & 0 deletions src/compiler/crystal/codegen/fun.cr
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ class Crystal::CodeGenVisitor
context.fun.add_attribute LLVM::Attribute::ReturnsTwice if target_def.returns_twice?
context.fun.add_attribute LLVM::Attribute::Naked if target_def.naked?
context.fun.add_attribute LLVM::Attribute::NoReturn if target_def.no_returns?
context.fun.add_attribute LLVM::Attribute::Cold if mangled_name == RAISE_OVERFLOW_NAME
context.fun.add_attribute LLVM::Attribute::NoInline if target_def.no_inline?
end

Expand Down
Loading