Skip to content

Commit

Permalink
add note about monomorphization
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Jan 14, 2025
1 parent 1efa287 commit 689c587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/codegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ r[attributes.codegen.naked.call-stack]
The asm code will have a valid call stack and register state on entry as per the signature and calling convention of the function.

r[attributes.codegen.naked.no-duplication]
The asm code may not be duplicated by the compiler.
The asm code may not be duplicated by the compiler, except when monomorphizing polymorphic functions.
This property is important for naked functions that define symbols in the assembly code.

r[attributes.codegen.naked.unsafe-function]
Expand Down

0 comments on commit 689c587

Please sign in to comment.