Skip to content

Commit 2620394

Browse files
fix merge conflicts
1 parent ebc0c87 commit 2620394

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Python/bytecodes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4051,8 +4051,8 @@ dummy_func(
40514051
_CALL_TUPLE_1 +
40524052
_CHECK_PERIODIC;
40534053

4054-
tier2 op(_CHECK_INIT_MATCHES_VERSIONS, (type_version/2, init_func_version/2, callable, null, args[oparg] -- callable, null, args[oparg])) {
4055-
PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable[0]);
4054+
tier2 op(_CHECK_INIT_MATCHES_VERSIONS, (type_version/2, init_func_version/2, callable, unused, unused[oparg] -- callable, unused, unused[oparg])) {
4055+
PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
40564056
DEOPT_IF(!PyType_Check(callable_o));
40574057
PyTypeObject *tp = (PyTypeObject *)callable_o;
40584058
DEOPT_IF(tp->tp_version_tag != type_version);

Python/executor_cases.c.h

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

Python/optimizer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ translate_bytecode_to_trace(
808808
if (typ == NULL || !PyType_HasFeature(typ, Py_TPFLAGS_HEAPTYPE)) {
809809
DPRINTF(2, "Bailing due to dynamic target\n");
810810
ADD_TO_TRACE(uop, oparg, 0, target);
811-
ADD_TO_TRACE(_DYNAMIC_EXIT, 0, 0, 0);
811+
ADD_TO_TRACE(_EXIT_TRACE, 0, 0, 0);
812812
goto done;
813813
}
814814
assert(PyType_HasFeature(typ, Py_TPFLAGS_HEAPTYPE));
@@ -819,7 +819,7 @@ translate_bytecode_to_trace(
819819
!= ((PyCodeObject *)((PyFunctionObject *)init)->func_code)->co_version) {
820820
DPRINTF(2, "Bailing due to non-matching __init__\n");
821821
ADD_TO_TRACE(uop, oparg, 0, target);
822-
ADD_TO_TRACE(_DYNAMIC_EXIT, 0, 0, 0);
822+
ADD_TO_TRACE(_EXIT_TRACE, 0, 0, 0);
823823
goto done;
824824
}
825825
PyFunctionObject *init_func = (PyFunctionObject *)init;

0 commit comments

Comments
 (0)