Skip to content

Commit a0f558e

Browse files
committed
remove unused variables
1 parent 3531f95 commit a0f558e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Python/ceval.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3709,7 +3709,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
37093709
assert(cframe.use_tracing == 0);
37103710
// Combined: COMPARE_OP (float ? float) + POP_JUMP_IF_(true/false)
37113711
SpecializedCacheEntry *caches = GET_CACHE();
3712-
_PyAdaptiveEntry *cache0 = &caches[0].adaptive;
37133712
int mask = caches[-1].compare.mask;
37143713
PyObject *right = TOP();
37153714
PyObject *left = SECOND();
@@ -3742,7 +3741,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
37423741
assert(cframe.use_tracing == 0);
37433742
// Combined: COMPARE_OP (int ? int) + POP_JUMP_IF_(true/false)
37443743
SpecializedCacheEntry *caches = GET_CACHE();
3745-
_PyAdaptiveEntry *cache0 = &caches[0].adaptive;
37463744
int mask = caches[-1].compare.mask;
37473745
PyObject *right = TOP();
37483746
PyObject *left = SECOND();
@@ -3774,7 +3772,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
37743772
assert(cframe.use_tracing == 0);
37753773
// Combined: COMPARE_OP (str == str or str != str) + POP_JUMP_IF_(true/false)
37763774
SpecializedCacheEntry *caches = GET_CACHE();
3777-
_PyAdaptiveEntry *cache0 = &caches[0].adaptive;
37783775
int mask = caches[-1].compare.mask;
37793776
PyObject *right = TOP();
37803777
PyObject *left = SECOND();
@@ -3783,7 +3780,8 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
37833780
DEOPT_IF(!PyUnicode_IS_READY(left), COMPARE_OP);
37843781
DEOPT_IF(!PyUnicode_IS_READY(right), COMPARE_OP);
37853782
STAT_INC(COMPARE_OP, hit);
3786-
assert(cache0->original_oparg == Py_EQ || cache0->original_oparg == Py_NE);
3783+
assert(caches[0].adaptive.original_oparg == Py_EQ ||
3784+
caches[0].adaptive.original_oparg == Py_NE);
37873785
NEXTOPARG();
37883786
assert(opcode == POP_JUMP_IF_TRUE || opcode == POP_JUMP_IF_FALSE);
37893787
int cmp = Py_Is(left, right) || _PyUnicode_EQ(left, right);

0 commit comments

Comments
 (0)