Skip to content

Commit aab5418

Browse files
committed
remove the rule on unwinding.
this only applies to `asm!` (even though the rule has been removed there since copying it for naked asm
1 parent 14ad4fc commit aab5418

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/inline-assembly.md

-4
Original file line numberDiff line numberDiff line change
@@ -1390,10 +1390,6 @@ r[asm.naked-rules.reg-not-output]
13901390
- Any callee-saved registers must have the same value upon return as they had on entry, otherwise behavior is undefined.
13911391
- Caller-saved registes may be used freely, even if they are not used for the return value.
13921392

1393-
r[asm.naked-rules.unwind]
1394-
- Behavior is undefined if execution unwinds out of an asm block.
1395-
- This also applies if the assembly code calls a function which then unwinds.
1396-
13971393
r[asm.naked-rules.noreturn]
13981394
- Behavior is undefined if execution falls through to the end of the asm block.
13991395
- the assembly code is expected to contain a return instruction or to diverge

0 commit comments

Comments
 (0)