[pypy-commit] extradoc extradoc: count all guards_* as guards
bivab
noreply at buildbot.pypy.org
Thu Jul 26 16:29:35 CEST 2012
Author: David Schneider <david.schneider at picle.org>
Branch: extradoc
Changeset: r4373:0a62b684d06b
Date: 2012-07-26 16:29 +0200
http://bitbucket.org/pypy/extradoc/changeset/0a62b684d06b/
Log: count all guards_* as guards
diff --git a/talk/vmil2012/tool/difflogs.py b/talk/vmil2012/tool/difflogs.py
--- a/talk/vmil2012/tool/difflogs.py
+++ b/talk/vmil2012/tool/difflogs.py
@@ -28,8 +28,6 @@
'new_array': 'new',
'newstr': 'new',
'new_with_vtable': 'new',
- 'guard_class': 'guard',
- 'guard_nonnull_class': 'guard',
}
all_categories = 'new get set guard numeric rest'.split()
@@ -62,6 +60,8 @@
continue
if opname.startswith("int_") or opname.startswith("float_"):
opname = "numeric"
+ elif opname.startswith("guard_"):
+ opname = "guard"
else:
opname = categories.get(opname, 'rest')
insns[opname] = insns.get(opname, 0) + 1
More information about the pypy-commit
mailing list