Skip to content

Commit 54695c9

Browse files
committed
add note about monomorphization
1 parent e89cd00 commit 54695c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes/codegen.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ r[attributes.codegen.naked.call-stack]
7171
The asm code will have a valid call stack and register state on entry as per the signature and calling convention of the function.
7272

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

7777
r[attributes.codegen.naked.unsafe-function]

0 commit comments

Comments
 (0)