GH-99770: Make the correct call specialization fail kind show up in the stats (GH-99771)

This commit is contained in:
penguin_wwy 2022-12-22 20:44:59 +08:00 committed by GitHub
parent 2b82c36f17
commit a02161286a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 85 additions and 64 deletions

View file

@ -224,7 +224,7 @@ def pretty(defname):
return defname.replace("_", " ").lower()
def kind_to_text(kind, defines, opname):
if kind <= 7:
if kind <= 8:
return pretty(defines[kind][0])
if opname.endswith("ATTR"):
opname = "ATTR"