From 204222653edbc2d01b5aed38b1de71a767cb5748 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 19 Oct 2016 00:20:34 +0300 Subject: [PATCH] esp8266/main: Mark nlr_jump_fail() as MP_FASTCODE. It's probably not strictly needed so far, but serves as an example of MP_FASTCODE use and may be helpful in the future. --- esp8266/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp8266/main.c b/esp8266/main.c index c938dcb30b..033ab7afed 100644 --- a/esp8266/main.c +++ b/esp8266/main.c @@ -141,7 +141,7 @@ mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args, mp_map_t *kwargs) { } MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open); -void nlr_jump_fail(void *val) { +void MP_FASTCODE(nlr_jump_fail)(void *val) { printf("NLR jump failed\n"); for (;;) { }