GH-102181: Improve specialization stats for SEND (GH-102182)

This commit is contained in:
penguin_wwy 2023-05-11 06:40:59 +08:00 committed by GitHub
parent 7b8d7f56b6
commit 373bca0cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 44 deletions

View file

@ -228,6 +228,8 @@ def kind_to_text(kind, defines, opname):
return pretty(defines[kind][0])
if opname.endswith("ATTR"):
opname = "ATTR"
if opname in ("FOR_ITER", "SEND"):
opname = "ITER"
if opname.endswith("SUBSCR"):
opname = "SUBSCR"
for name in defines[kind]: