summaryrefslogtreecommitdiffstats
path: root/Objects/frameobject.c
diff options
context:
space:
mode:
authorpenguin_wwy <940375606@qq.com>2023-02-07 22:32:21 (GMT)
committerGitHub <noreply@github.com>2023-02-07 22:32:21 (GMT)
commit753fc8a5d64369cd228c3e43fef1811ac3cfde83 (patch)
treea71d295db633dbe497aa5461d0a410e2792c0e22 /Objects/frameobject.c
parent0d3d5007b136ff1bc0faa960d6526e047dd92396 (diff)
downloadcpython-753fc8a5d64369cd228c3e43fef1811ac3cfde83.zip
cpython-753fc8a5d64369cd228c3e43fef1811ac3cfde83.tar.gz
cpython-753fc8a5d64369cd228c3e43fef1811ac3cfde83.tar.bz2
gh-101632: Add the new RETURN_CONST opcode (#101633)
Diffstat (limited to 'Objects/frameobject.c')
-rw-r--r--Objects/frameobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index 6bc04bc..0e52a3e 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -397,6 +397,8 @@ mark_stacks(PyCodeObject *code_obj, int len)
assert(pop_value(next_stack) == EMPTY_STACK);
assert(top_of_stack(next_stack) == Object);
break;
+ case RETURN_CONST:
+ break;
case RAISE_VARARGS:
break;
case RERAISE: