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 Dec 18, 2024
1 parent e89cd00 commit 54695c9
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 @@ -71,7 +71,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 54695c9

Please sign in to comment.