mirror of
https://github.com/janet-lang/janet
synced 2025-01-11 08:00:27 +00:00
Assert computed gotos work on clang
This commit is contained in:
parent
1bf0b538cd
commit
ff46522dd9
@ -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 :
|
||||
|
Loading…
Reference in New Issue
Block a user