(stats: Stats)
| 1269 | ) |
| 1270 | |
| 1271 | def calc_error_in_opcodes_table(stats: Stats) -> Rows: |
| 1272 | error_in_opcodes = stats.get_opcode_stats("error_in_opcode") |
| 1273 | return sorted( |
| 1274 | [ |
| 1275 | (opcode, Count(count)) |
| 1276 | for opcode, count in error_in_opcodes.get_opcode_counts().items() |
| 1277 | ], |
| 1278 | key=itemgetter(1), |
| 1279 | reverse=True, |
| 1280 | ) |
| 1281 | |
| 1282 | def iter_optimization_tables(base_stats: Stats, head_stats: Stats | None = None): |
| 1283 | if not base_stats.get_optimization_stats() or ( |
nothing calls this directly
no test coverage detected
searching dependent graphs…