Skip to content

Commit d913b2d

Browse files
fix build
1 parent 92a09a6 commit d913b2d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Python/bytecodes.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5607,7 +5607,9 @@ dummy_func(
56075607
#else
56085608
assert(_PyErr_Occurred(tstate));
56095609
#endif
5610+
SAVE_STACK();
56105611
STOP_TRACING();
5612+
RELOAD_STACK();
56115613

56125614
/* Log traceback info. */
56135615
assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
@@ -5622,7 +5624,9 @@ dummy_func(
56225624
}
56235625

56245626
spilled label(exception_unwind) {
5627+
SAVE_STACK();
56255628
STOP_TRACING();
5629+
RELOAD_STACK();
56265630
/* We can't use frame->instr_ptr here, as RERAISE may have set it */
56275631
int offset = INSTR_OFFSET()-1;
56285632
int level, handler, lasti;

Python/ceval_macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
} \
166166
} while (0);
167167
#else
168-
#define STOP_TRACING() (void(0));
168+
#define STOP_TRACING() ((void)(0));
169169
#endif
170170

171171

Python/generated_cases.c.h

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)