aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2020-09-29 10:09:13 +0100
committerGitHub <noreply@github.com>2020-09-29 10:09:13 +0100
commit17b5be0c0a3f74141014e06a660f1b5ddb002fec (patch)
treedbab380ec65937f6957064856eb5f33d77ca56aa /Python/ceval.c
parentbpo-41774: Add programming FAQ entry (GH-22402) (diff)
downloadcpython-17b5be0c0a3f74141014e06a660f1b5ddb002fec.tar.gz
cpython-17b5be0c0a3f74141014e06a660f1b5ddb002fec.tar.bz2
cpython-17b5be0c0a3f74141014e06a660f1b5ddb002fec.zip
bpo-41670: Remove outdated predict macro invocation. (GH-22026)
Remove PREDICTion of POP_BLOCK from FOR_ITER.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 6430e792b8c..6bd2d6bc13d 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2311,7 +2311,6 @@ main_loop:
}
case TARGET(POP_BLOCK): {
- PREDICTED(POP_BLOCK);
PyFrame_BlockPop(f);
DISPATCH();
}
@@ -3366,7 +3365,6 @@ main_loop:
STACK_SHRINK(1);
Py_DECREF(iter);
JUMPBY(oparg);
- PREDICT(POP_BLOCK);
DISPATCH();
}