Skip to content

Commit 4b4e857

Browse files
Address Kumar's review
1 parent 9cc7999 commit 4b4e857

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Include/internal/pycore_backoff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ backoff_counter_triggers(_Py_BackoffCounter counter)
101101
// re-specialized:
102102
// Note: this should be a prime number-1. This increases the likelihood of
103103
// finding a "good" loop iteration to trace.
104-
// For example, 4095 does not work for the nqueens benchmark on pyperformanc
104+
// For example, 4095 does not work for the nqueens benchmark on pyperformance
105105
// as we always end up tracing the loop iteration's
106106
// exhaustion iteration. Which aborts our current tracer.
107107
#define JUMP_BACKWARD_INITIAL_VALUE 4000

Objects/frameobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ framelocalsproxy_setitem(PyObject *self, PyObject *key, PyObject *value)
262262
}
263263

264264
#if _Py_TIER2
265-
_Py_Executors_InvalidateDependency(PyInterpreterState_Get(), co, 1);
266-
_PyJit_Tracer_InvalidateDependency(PyThreadState_GET(), co);
265+
_Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), co, 1);
266+
_PyJit_Tracer_InvalidateDependency(_PyThreadState_GET(), co);
267267
#endif
268268

269269
_PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);

Objects/funcobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ func_dealloc(PyObject *self)
11521152
return;
11531153
}
11541154
#if _Py_TIER2
1155-
_PyJit_Tracer_InvalidateDependency(PyThreadState_GET(), self);
1155+
_PyJit_Tracer_InvalidateDependency(_PyThreadState_GET(), self);
11561156
#endif
11571157
_PyObject_GC_UNTRACK(op);
11581158
FT_CLEAR_WEAKREFS(self, op->func_weakreflist);

0 commit comments

Comments
 (0)