8000 Revert PR #10301, obsoleted by PR #10325. · adafruit/circuitpython@1cca691 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1cca691

Browse files
committed
Revert PR #10301, obsoleted by PR #10325.
1 parent 739b242 commit 1cca691

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

shared/runtime/pyexec.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ static int parse_compile_execute(const void *source, mp_parse_input_kind_t input
9191
nlr_buf_t nlr;
9292
nlr.ret_val = NULL;
9393
if (nlr_push(&nlr) == 0) {
94-
// CIRCUITPY-CHANGE: Made volatile to prevent gcc from re-ordering store of function pointer into stack frame
95-
// after call to gc_collect. For RISC-V this was causing free of the compiled function before execution.
96-
volatile mp_obj_t module_fun = mp_const_none;
94+
// CIRCUITPY-CHANGE
95+
mp_obj_t module_fun = mp_const_none;
9796
// CIRCUITPY-CHANGE
9897
#if CIRCUITPY_ATEXIT
9998
if (!(exec_flags & EXEC_FLAG_SOURCE_IS_ATEXIT))

0 commit comments

Comments
 (0)
0