Skip to content

Commit 5e43776

Browse files
committed
add note about monomorphization
1 parent b17fcf3 commit 5e43776

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
@@ -67,7 +67,7 @@ r[attributes.codegen.naked.call-stack]
6767
The asm code will have a valid call stack and register state on entry as per the signature and calling convention of the function.
6868

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

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

0 commit comments

Comments
 (0)