Lines Matching refs:emit

240         self.emit = self.graph.emit
283 self.emit(prefix + '_NAME', name)
285 self.emit(prefix + '_FAST', name)
287 self.emit(prefix + '_GLOBAL', name)
290 self.emit(prefix + '_NAME', name)
292 self.emit(prefix + '_GLOBAL', name)
294 self.emit(prefix + '_DEREF', name)
307 self.emit(prefix + '_FAST', name)
309 self.emit(prefix + '_NAME', name)
333 self.emit('SET_LINENO', lineno)
349 self.emit('SET_LINENO', 0)
351 self.emit('LOAD_CONST', node.doc)
356 self.emit('LOAD_CONST', None)
357 self.emit('RETURN_VALUE')
364 self.emit('RETURN_VALUE')
392 self.emit('CALL_FUNCTION', 1)
400 self.emit('LOAD_CONST', node.name)
403 self.emit('BUILD_TUPLE', len(node.bases))
405 self.emit('CALL_FUNCTION', 0)
406 self.emit('BUILD_CLASS')
424 self.emit('POP_JUMP_IF_FALSE', nextTest)
427 self.emit('JUMP_FORWARD', end)
440 self.emit('SETUP_LOOP', after)
447 self.emit('POP_JUMP_IF_FALSE', else_ or after)
451 self.emit('JUMP_ABSOLUTE', loop)
454 self.emit('POP_BLOCK')
467 self.emit('SETUP_LOOP', after)
469 self.emit('GET_ITER')
473 self.emit('FOR_ITER', anchor)
476 self.emit('JUMP_ABSOLUTE', start)
478 self.emit('POP_BLOCK')
489 self.emit('BREAK_LOOP')
498 self.emit('JUMP_ABSOLUTE', block)
512 self.emit('CONTINUE_LOOP', loop_block)
522 self.emit(jump, end)
537 self.emit('POP_JUMP_IF_FALSE', elseblock)
539 self.emit('JUMP_FORWARD', endblock)
549 self.emit('DUP_TOP')
550 self.emit('ROT_THREE')
551 self.emit('COMPARE_OP', op)
552 self.emit('JUMP_IF_FALSE_OR_POP', cleanup)
558 self.emit('COMPARE_OP', op)
561 self.emit('JUMP_FORWARD', end)
563 self.emit('ROT_TWO')
564 self.emit('POP_TOP')
571 self.emit('BUILD_LIST', 0)
584 self.emit('LIST_APPEND', len(node.quals) + 1)
589 self.emit('JUMP_ABSOLUTE', start)
595 self.emit('BUILD_SET', 0)
608 self.emit('SET_ADD', len(node.quals) + 1)
613 self.emit('JUMP_ABSOLUTE', start)
619 self.emit('BUILD_MAP', 0)
633 self.emit('MAP_ADD', len(node.quals) + 1)
638 self.emit('JUMP_ABSOLUTE', start)
646 self.emit('GET_ITER')
649 self.emit('FOR_ITER', anchor)
657 self.emit('POP_JUMP_IF_FALSE', branch)
664 self.emit('LOAD_CLOSURE', name)
665 self.emit('BUILD_TUPLE', len(frees))
666 self.emit('LOAD_CONST', gen)
667 self.emit('MAKE_CLOSURE', args)
669 self.emit('LOAD_CONST', gen)
670 self.emit('MAKE_FUNCTION', args)
681 self.emit('GET_ITER')
682 self.emit('CALL_FUNCTION', 1)
699 self.emit('YIELD_VALUE')
700 self.emit('POP_TOP')
705 self.emit('JUMP_ABSOLUTE', start)
707 self.emit('POP_BLOCK')
711 self.emit('LOAD_CONST', None)
719 self.emit('SETUP_LOOP', end)
725 self.emit('GET_ITER')
729 self.emit('FOR_ITER', anchor)
737 self.emit('POP_JUMP_IF_FALSE', branch)
753 self.emit('POP_JUMP_IF_TRUE', end)
755 self.emit('LOAD_GLOBAL', 'AssertionError')
758 self.emit('RAISE_VARARGS', 2)
760 self.emit('RAISE_VARARGS', 1)
775 self.emit('RAISE_VARARGS', n)
786 self.emit('SETUP_EXCEPT', handlers)
790 self.emit('POP_BLOCK')
792 self.emit('JUMP_FORWARD', lElse)
800 self.emit('DUP_TOP')
802 self.emit('COMPARE_OP', 'exception match')
804 self.emit('POP_JUMP_IF_FALSE', next)
806 self.emit('POP_TOP')
810 self.emit('POP_TOP')
811 self.emit('POP_TOP')
813 self.emit('JUMP_FORWARD', end)
818 self.emit('END_FINALLY')
828 self.emit('SETUP_FINALLY', final)
832 self.emit('POP_BLOCK')
834 self.emit('LOAD_CONST', None)
838 self.emit('END_FINALLY')
850 self.emit('DUP_TOP')
851 self.emit('LOAD_ATTR', '__exit__')
852 self.emit('ROT_TWO')
853 self.emit('LOAD_ATTR', '__enter__')
854 self.emit('CALL_FUNCTION', 0)
856 self.emit('POP_TOP')
859 self.emit('SETUP_FINALLY', final)
867 self.emit('POP_BLOCK')
869 self.emit('LOAD_CONST', None)
872 self.emit('WITH_CLEANUP')
873 self.emit('END_FINALLY')
882 self.emit('POP_TOP')
885 self.emit('LOAD_CONST', node.value)
888 self.emit('LOAD_CONST', node.name)
907 self.emit('LOAD_CONST', level)
908 self.emit('LOAD_CONST', None)
909 self.emit('IMPORT_NAME', name)
924 self.emit('LOAD_CONST', level)
925 self.emit('LOAD_CONST', fromlist)
926 self.emit('IMPORT_NAME', node.modname)
931 self.emit('IMPORT_STAR')
936 self.emit('IMPORT_FROM', name)
940 self.emit('IMPORT_FROM', name)
941 self.emit('POP_TOP')
948 self.emit('LOAD_ATTR', elt)
952 self.emit('LOAD_ATTR', self.mangle(node.attrname))
963 self.emit('DUP_TOP')
979 self.emit('STORE_ATTR', self.mangle(node.attrname))
981 self.emit('DELETE_ATTR', self.mangle(node.attrname))
988 self.emit(op, len(node.nodes))
1009 self.emit(self._augmented_opcode[node.op])
1036 self.emit('DUP_TOP')
1037 self.emit('LOAD_ATTR', self.mangle(node.attrname))
1039 self.emit('ROT_TWO')
1040 self.emit('STORE_ATTR', self.mangle(node.attrname))
1052 self.emit('ROT_TWO')
1054 self.emit('ROT_FOUR')
1056 self.emit('ROT_THREE')
1057 self.emit('STORE_SLICE+%d' % slice)
1063 self.emit('ROT_THREE')
1064 self.emit('STORE_SUBSCR')
1069 self.emit('LOAD_CONST', None)
1073 self.emit('DUP_TOP')
1076 self.emit('EXEC_STMT')
1096 self.emit(opcode, kw << 8 | pos)
1104 self.emit('DUP_TOP')
1107 self.emit('ROT_TWO')
1108 self.emit('PRINT_ITEM_TO')
1110 self.emit('PRINT_ITEM')
1112 self.emit('POP_TOP')
1117 self.emit('PRINT_NEWLINE_TO')
1119 self.emit('PRINT_NEWLINE')
1124 self.emit('RETURN_VALUE')
1129 self.emit('YIELD_VALUE')
1145 self.emit('DUP_TOP')
1147 self.emit('DUP_TOPX', 3)
1149 self.emit('DUP_TOPX', 2)
1151 self.emit('SLICE+%d' % slice)
1153 self.emit('STORE_SLICE+%d' % slice)
1155 self.emit('DELETE_SLICE+%d' % slice)
1165 self.emit('BUILD_TUPLE', len(node.subs))
1167 self.emit('DUP_TOPX', 2)
1169 self.emit('BINARY_SUBSCR')
1171 self.emit('STORE_SUBSCR')
1173 self.emit('DELETE_SUBSCR')
1180 self.emit(op)
1213 self.emit(op)
1239 self.emit(op)
1253 self.emit('LOAD_CONST', Ellipsis)
1259 self.emit('BUILD_TUPLE', len(node.nodes))
1265 self.emit('BUILD_LIST', len(node.nodes))
1271 self.emit('BUILD_SET', len(node.nodes))
1276 self.emit('BUILD_SLICE', len(node.nodes))
1280 self.emit('BUILD_MAP', 0)
1282 self.emit('DUP_TOP')
1285 self.emit('ROT_THREE')
1286 self.emit('STORE_SUBSCR')
1335 self.emit('RETURN_VALUE')
1344 self.emit('PRINT_EXPR')
1385 self.emit('LOAD_CONST', None)
1386 self.emit('RETURN_VALUE')
1392 self.emit('LOAD_FAST', '.%d' % (i * 2))
1397 self.emit('UNPACK_SEQUENCE', len(tup))
1399 self.emit('UNPACK_TUPLE', len(tup))
1458 self.emit('LOAD_LOCALS')
1459 self.emit('RETURN_VALUE')
1474 self.emit("LOAD_GLOBAL", "__name__")
1477 self.emit("LOAD_CONST", klass.doc)