about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-reference.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-08 08:19:17 +0100
committerGitHub <noreply@github.com>2024-03-08 08:19:17 +0100
commit5ffd498ca19ce6cfd7696733b88417dbd6706d6e (patch)
tree082552dc1ee6f5b5e346cb51e13c6ea26e68d9e0 /tests/rustdoc-js-std/parser-reference.js
parent804eeff1806ce6a3cd88abf4290e569ebe939051 (diff)
parent8cec9989b2a8b39da211d819f1c05fab94886b34 (diff)
downloadrust-5ffd498ca19ce6cfd7696733b88417dbd6706d6e.tar.gz
rust-5ffd498ca19ce6cfd7696733b88417dbd6706d6e.zip
Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu
Add asm goto support to `asm!`

Tracking issue: #119364

This PR implements asm-goto support, using the syntax described in "future possibilities" section of [RFC2873](https://rust-lang.github.io/rfcs/2873-inline-asm.html#asm-goto).

Currently I have only implemented the `label` part, not the `fallthrough` part (i.e. fallthrough is implicit). This doesn't reduce the expressive though, since you can use label-break to get arbitrary control flow or simply set a value and rely on jump threading optimisation to get the desired control flow. I can add that later if deemed necessary.

r? ``@Amanieu``
cc ``@ojeda``
Diffstat (limited to 'tests/rustdoc-js-std/parser-reference.js')
0 files changed, 0 insertions, 0 deletions