(instrs, exception_entries, formatter, lasti=-1)
| 917 | |
| 918 | |
| 919 | def print_instructions(instrs, exception_entries, formatter, lasti=-1): |
| 920 | for instr in instrs: |
| 921 | # Each CACHE takes 2 bytes |
| 922 | is_current_instr = instr.offset <= lasti \ |
| 923 | <= instr.offset + 2 * _get_cache_size(_all_opname[_deoptop(instr.opcode)]) |
| 924 | formatter.print_instruction(instr, is_current_instr) |
| 925 | |
| 926 | formatter.print_exception_table(exception_entries) |
| 927 | |
| 928 | def _disassemble_str(source, **kwargs): |
| 929 | """Compile the source string, then disassemble the code object.""" |
no test coverage detected
searching dependent graphs…