Skip to content

Commit a74ce30

Browse files
committed
add note about monomorphization
1 parent c9e97cc commit a74ce30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes/codegen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ r[attributes.codegen.naked.call-stack]
6969
The asm code will have a valid call stack and register state on entry as per the signature and calling convention of the function.
7070

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

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

0 commit comments

Comments
 (0)