(instrs, exception_entries, formatter, lasti=-1)
| 911 | |
| 912 | |
| 913 | def print_instructions(instrs, exception_entries, formatter, lasti=-1): |
| 914 | for instr in instrs: |
| 915 | # Each CACHE takes 2 bytes |
| 916 | is_current_instr = instr.offset <= lasti \ |
| 917 | <= instr.offset + 2 * _get_cache_size(_all_opname[_deoptop(instr.opcode)]) |
| 918 | formatter.print_instruction(instr, is_current_instr) |
| 919 | |
| 920 | formatter.print_exception_table(exception_entries) |
| 921 | |
| 922 | def _disassemble_str(source, **kwargs): |
| 923 | """Compile the source string, then disassemble the code object.""" |
no test coverage detected