summaryrefslogtreecommitdiffstatshomepage
path: root/py/nlr.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/nlr.h')
-rw-r--r--py/nlr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/nlr.h b/py/nlr.h
index 32e4b7cb2d..93eaa78b76 100644
--- a/py/nlr.h
+++ b/py/nlr.h
@@ -47,6 +47,8 @@ struct _nlr_buf_t {
#endif
#elif defined(__thumb2__) || defined(__thumb__) || defined(__arm__)
void *regs[10];
+#elif defined(__xtensa__)
+ void *regs[10];
#else
#define MICROPY_NLR_SETJMP (1)
//#warning "No native NLR support for this arch, using setjmp implementation"