mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.10] bpo-45355: More use of sizeof(_Py_CODEUNIT) (GH-28720). (GH-28721)
(cherry picked from commit 252b7bcb23
)
This commit is contained in:
parent
b5499784ec
commit
1670d590fa
2 changed files with 3 additions and 3 deletions
|
@ -6619,7 +6619,7 @@ static int
|
|||
assemble_line_range(struct assembler *a)
|
||||
{
|
||||
int ldelta, bdelta;
|
||||
bdelta = (a->a_offset - a->a_lineno_start) * 2;
|
||||
bdelta = (a->a_offset - a->a_lineno_start) * sizeof(_Py_CODEUNIT);
|
||||
if (bdelta == 0) {
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue