summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 0285710..1d9664b 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -175,12 +175,9 @@ dummy_func(
}
}
- inst(LOAD_CLOSURE, (-- value)) {
- /* We keep LOAD_CLOSURE so that the bytecode stays more readable. */
- value = GETLOCAL(oparg);
- ERROR_IF(value == NULL, unbound_local_error);
- Py_INCREF(value);
- }
+ pseudo(LOAD_CLOSURE) = {
+ LOAD_FAST,
+ };
inst(LOAD_FAST_CHECK, (-- value)) {
value = GETLOCAL(oparg);