diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2021-02-11 12:15:39 +0800 |
---|---|---|
committer | SimplyTheOther <simplytheother@gmail.com> | 2021-02-11 12:15:39 +0800 |
commit | 7d4ed9d38c7a636408a262f70aa69d2a34e2169d (patch) | |
tree | 915c10b77703d0ef8d074775ddea95eb0f728cab /gcc/rust/rust-backend.h | |
parent | cfd1d805ff5921480d9badd7d215e1b1deb33aca (diff) | |
parent | 0c7d0135663b6f0d94e0ffd931366ba2b32f8b2c (diff) | |
download | gcc-7d4ed9d38c7a636408a262f70aa69d2a34e2169d.zip gcc-7d4ed9d38c7a636408a262f70aa69d2a34e2169d.tar.gz gcc-7d4ed9d38c7a636408a262f70aa69d2a34e2169d.tar.bz2 |
Merge branch 'master' of https://github.com/redbrain/gccrs
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r-- | gcc/rust/rust-backend.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h index 7b0ccf9..50e8728 100644 --- a/gcc/rust/rust-backend.h +++ b/gcc/rust/rust-backend.h @@ -425,6 +425,12 @@ public: Location) = 0; + // infinite loop expressions + virtual Bexpression *loop_expression (Bblock *body, Location); + + // exit expressions + virtual Bexpression *exit_expression (Bexpression *condition, Location); + // Create a switch statement where the case values are constants. // CASES and STATEMENTS must have the same number of entries. If // VALUE matches any of the list in CASES[i], which will all be |