Skip to content

Commit 84c9b7d

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 68a8076 commit 84c9b7d

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
@@ -1359,10 +1359,6 @@ r[asm.naked-rules.reg-not-output]
13591359
- Any callee-saved registers must have the same value upon return as they had on entry, otherwise behavior is undefined.
13601360
- Caller-saved registes may be used freely, even if they are not used for the return value.
13611361

1362-
r[asm.naked-rules.unwind]
1363-
- Behavior is undefined if execution unwinds out of an asm block.
1364-
- This also applies if the assembly code calls a function which then unwinds.
1365-
13661362
r[asm.naked-rules.noreturn]
13671363
- Behavior is undefined if execution falls through to the end of the asm block.
13681364
- the assembly code is expected to contain a return instruction or to diverge

0 commit comments

Comments
 (0)