Skip to content

Commit fdb6bd1

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Update ceval_macros.h to match upstream
Summary: python/cpython@62423c9#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 has updated ceval_macros.h, we need the same update too. Reviewed By: yoney Differential Revision: D88498414 fbshipit-source-id: 0f6e65e74c13175c036937694da394d6c583b346
1 parent 0b240be commit fdb6bd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cinderx/Interpreter/3.15/Includes/ceval_macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ do { \
401401
#define STACKREFS_TO_PYOBJECTS(ARGS, ARG_COUNT, NAME) \
402402
/* +1 because vectorcall might use -1 to write self */ \
403403
PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
404-
PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp + 1);
404+
PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
405405

406406
#define STACKREFS_TO_PYOBJECTS_CLEANUP(NAME) \
407407
/* +1 because we +1 previously */ \

0 commit comments

Comments
 (0)