diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2025-02-07 22:39:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-07 22:39:54 +0000 |
commit | a1417b211f0bb9582b00f7b82d0a43a3bcc9ed05 (patch) | |
tree | 1133960d5abf1077cbf974bcde2ecb90b9fc1b7c /Python/optimizer.c | |
parent | 2248a9c153092b920ff68b0eee009c04dbe19f61 (diff) | |
download | cpython-a1417b211f0bb9582b00f7b82d0a43a3bcc9ed05.tar.gz cpython-a1417b211f0bb9582b00f7b82d0a43a3bcc9ed05.zip |
gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700)
Diffstat (limited to 'Python/optimizer.c')
-rw-r--r-- | Python/optimizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/optimizer.c b/Python/optimizer.c index 340770ae55e..bef5728349a 100644 --- a/Python/optimizer.c +++ b/Python/optimizer.c @@ -753,7 +753,7 @@ translate_bytecode_to_trace( assert(i + 1 == nuops); if (opcode == FOR_ITER_GEN || opcode == LOAD_ATTR_PROPERTY || - opcode == BINARY_SUBSCR_GETITEM || + opcode == BINARY_OP_SUBSCR_GETITEM || opcode == SEND_GEN) { DPRINTF(2, "Bailing due to dynamic target\n"); |