Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 30f7a09

Browse files
Remove borrowed load in counter_optimize
1 parent 193e216 commit 30f7a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ counter_optimize(
13931393
_Py_CODEUNIT *target = instr + 1 + _PyOpcode_Caches[JUMP_BACKWARD] - oparg;
13941394
_PyUOpInstruction buffer[4] = {
13951395
{ .opcode = _START_EXECUTOR, .jump_target = 3, .format=UOP_FORMAT_JUMP },
1396-
{ .opcode = _LOAD_CONST_INLINE_BORROW, .operand = (uintptr_t)self },
1396+
{ .opcode = _LOAD_CONST_INLINE, .operand = (uintptr_t)self },
13971397
{ .opcode = _INTERNAL_INCREMENT_OPT_COUNTER },
13981398
{ .opcode = _EXIT_TRACE, .target = (uint32_t)(target - _PyCode_CODE(code)), .format=UOP_FORMAT_TARGET }
13991399
};

0 commit comments

Comments
 (0)