Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Apr 3, 2024
1 parent 63f743c commit d42ae28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Python/executor_stubs.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#define TIER_TWO 2

#undef JUMP_TO_ERROR
#define JUMP_TO_ERROR() return 1;
#define JUMP_TO_ERROR() { *_stack_pointer = stack_pointer; return 1; }

#undef JUMP_TO_JUMP_TARGET
#define JUMP_TO_JUMP_TARGET() return 2;
#define JUMP_TO_JUMP_TARGET() { *_stack_pointer = stack_pointer; return 2; }

int _STORE_SLICE_func(PyThreadState *tstate, _PyInterpreterFrame *frame, PyObject ***_stack_pointer, int oparg) {
PyObject **stack_pointer = *_stack_pointer;
Expand Down
4 changes: 2 additions & 2 deletions Tools/cases_generator/tier2_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ def generate_tier2_stubs(
#define TIER_TWO 2
#undef JUMP_TO_ERROR
#define JUMP_TO_ERROR() return 1;
#define JUMP_TO_ERROR() { *_stack_pointer = stack_pointer; return 1; }
#undef JUMP_TO_JUMP_TARGET
#define JUMP_TO_JUMP_TARGET() return 2;
#define JUMP_TO_JUMP_TARGET() { *_stack_pointer = stack_pointer; return 2; }
"""
)

Expand Down

0 comments on commit d42ae28

Please sign in to comment.