Add more const modifiers. (GH-26691)

This commit is contained in:
Serhiy Storchaka 2021-06-12 16:11:59 +03:00 committed by GitHub
parent 9f1c5f6e8a
commit be8b631b7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 27 additions and 27 deletions

View file

@ -120,7 +120,7 @@ oparg_from_instruction_and_update_offset(int index, int opcode, int original_opa
}
static int
entries_needed(_Py_CODEUNIT *code, int len)
entries_needed(const _Py_CODEUNIT *code, int len)
{
int cache_offset = 0;
int previous_opcode = -1;