diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-02-10 17:50:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 17:50:02 (GMT) |
commit | d7a5aca982def155a9255893cefcc1493c127c9c (patch) | |
tree | 853f98c7fe29a5fbb836640f64c8fe8442aa856f /Python/specialize.c | |
parent | 1a6411f5738895fa48d35a93435f7c7b6c17bdb9 (diff) | |
download | cpython-d7a5aca982def155a9255893cefcc1493c127c9c.zip cpython-d7a5aca982def155a9255893cefcc1493c127c9c.tar.gz cpython-d7a5aca982def155a9255893cefcc1493c127c9c.tar.bz2 |
bpo-45923: Add `RESUME_QUICK` (GH-31244)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r-- | Python/specialize.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c index b051f45..e610a2d 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -407,6 +407,9 @@ optimize(SpecializedCacheOrInstruction *quickened, int len) case JUMP_ABSOLUTE: instructions[i] = _Py_MAKECODEUNIT(JUMP_ABSOLUTE_QUICK, oparg); break; + case RESUME: + instructions[i] = _Py_MAKECODEUNIT(RESUME_QUICK, oparg); + break; case LOAD_FAST: switch(previous_opcode) { case LOAD_FAST: |