summaryrefslogtreecommitdiff
path: root/py/emitnx64.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/emitnx64.c')
-rw-r--r--py/emitnx64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/emitnx64.c b/py/emitnx64.c
index b9800f636..5b04a50f5 100644
--- a/py/emitnx64.c
+++ b/py/emitnx64.c
@@ -8,6 +8,9 @@
#define GENERIC_ASM_API (1)
#include "py/asmx64.h"
+// Word index of REG_LOCAL_1(=rbx) in nlr_buf_t
+#define NLR_BUF_IDX_LOCAL_1 (5)
+
#define N_X64 (1)
#define EXPORT_FUN(name) emit_native_x64_##name
#include "py/emitnative.c"