1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-28 08:03:16 +00:00

Assert computed gotos work on clang

This commit is contained in:
bakpakin 2018-01-31 21:47:18 -05:00
parent 1bf0b538cd
commit ff46522dd9

View File

@ -63,8 +63,8 @@ static int dst_continue(Dst *returnreg) {
* Values stored here should be used immediately */
Dst retreg;
/* Use computed gotos for GCC, otherwise use switch */
#ifdef __GNUCC__
/* Use computed gotos for GCC and clang, otherwise use switch */
#ifdef __GNUC__
#define VM_START() {vm_next();
#define VM_END() }
#define VM_OP(op) label_##op :