There are no implemented interfaces.
hasjabs
(type: instance
)
<compiler.misc.Set instance at 0x40ded70c>
hasjrel
(type: instance
)
<compiler.misc.Set instance at 0x40ded6cc>
i
(type:
int
)
119
opnum
(type:
dict
)
{'<194>': 194, '<94>': 94, '<225>': 225, 'CALL_FUNCTION': 131, 'DUP_TOP': 4, '<226>': 226, '<201>': 201, '<16>': 16, '<48>': 48, '<249>': 249, '<174>': 174, '<208>': 208, '<164>': 164, 'INPLACE_FLOOR_DIVIDE': 28, '<195>': 195, '<212>': 212, '<188>': 188, 'BINARY_XOR': 65, 'BREAK_LOOP': 80, '<193>': 193, '<241>': 241, 'RETURN_VALUE': 83, '<172>': 172, '<123>': 123, '<200>': 200, 'POP_BLOCK': 87, '<138>': 138, 'SETUP_LOOP': 120, '<198>': 198, '<230>': 230, '<219>': 219, 'POP_TOP': 1, '<206>': 206, 'EXTENDED_ARG': 143, 'SETUP_FINALLY': 122, '<187>': 187, 'INPLACE_TRUE_DIVIDE': 29, '<49>': 49, 'CALL_FUNCTION_KW': 141, 'INPLACE_AND': 77, '<233>': 233, 'STORE_DEREF': 137, 'SETUP_EXCEPT': 121, '<209>': 209, 'STORE_NAME': 90, 'IMPORT_NAME': 107, '<173>': 173, '<153>': 153, 'LOAD_GLOBAL': 116, 'PRINT_EXPR': 70, 'FOR_ITER': 93, '<163>': 163, 'EXEC_STMT': 85, 'DELETE_NAME': 91, '<246>': 246, '<254>': 254, 'BUILD_LIST': 103, '<118>': 118, '<39>': 39, '<191>': 191, 'COMPARE_OP': 106, 'BINARY_OR': 66, 'INPLACE_MULTIPLY': 57, 'STORE_FAST': 125, '<14>': 14, 'CALL_FUNCTION_VAR': 140, '<169>': 169, '<129>': 129, 'LOAD_LOCALS': 82, 'CONTINUE_LOOP': 119, 'LOAD_NAME': 101, 'DELETE_GLOBAL': 98, '<54>': 54, 'GET_ITER': 68, '<251>': 251, 'STOP_CODE': 0, '<127>': 127, '<238>': 238, '<196>': 196, '<214>': 214, 'UNARY_NOT': 12, 'BINARY_LSHIFT': 62, '<162>': 162, '<247>': 247, 'JUMP_IF_TRUE': 112, 'LOAD_CLOSURE': 135, '<145>': 145, 'IMPORT_STAR': 84, 'INPLACE_OR': 79, '<38>': 38, '<182>': 182, '<239>': 239, 'BINARY_SUBTRACT': 24, '<168>': 168, '<220>': 220, '<236>': 236, '<176>': 176, '<184>': 184, 'INPLACE_ADD': 55, '<207>': 207, 'INPLACE_LSHIFT': 75, '<204>': 204, 'INPLACE_MODULO': 59, '<128>': 128, '<183>': 183, 'STORE_ATTR': 95, 'BUILD_MAP': 104, '<217>': 217, 'BINARY_DIVIDE': 21, 'INPLACE_RSHIFT': 76, 'PRINT_ITEM_TO': 73, 'UNPACK_SEQUENCE': 92, '<244>': 244, '<199>': 199, '<175>': 175, 'BINARY_MULTIPLY': 20, 'MAKE_FUNCTION': 132, '<144>': 144, '<161>': 161, '<224>': 224, 'PRINT_NEWLINE_TO': 74, 'NOP': 9, '<159>': 159, 'LIST_APPEND': 18, '<229>': 229, '<205>': 205, 'INPLACE_XOR': 78, '<197>': 197, '<221>': 221, 'STORE_GLOBAL': 97, 'INPLACE_SUBTRACT': 56, 'INPLACE_POWER': 67, 'ROT_FOUR': 5, 'DELETE_SUBSCR': 61, '<216>': 216, 'BINARY_AND': 64, '<35>': 35, '<152>': 152, '<117>': 117, '<227>': 227, 'END_FINALLY': 88, '<228>': 228, '<44>': 44, 'JUMP_IF_FALSE': 111, '<147>': 147, '<160>': 160, '<237>': 237, '<245>': 245, 'DELETE_SLICE+1': 51, '<156>': 156, 'DELETE_SLICE+0': 50, 'DUP_TOPX': 99, 'CALL_FUNCTION_VAR_KW': 142, '<47>': 47, '<255>': 255, '<148>': 148, '<186>': 186, '<185>': 185, '<69>': 69, 'BINARY_TRUE_DIVIDE': 27, 'ROT_TWO': 2, '<222>': 222, '<114>': 114, '<179>': 179, '<151>': 151, '<34>': 34, '<215>': 215, 'DELETE_FAST': 126, 'BINARY_ADD': 23, 'LOAD_CONST': 100, '<6>': 6, '<45>': 45, '<177>': 177, 'UNARY_NEGATIVE': 11, '<146>': 146, 'UNARY_POSITIVE': 10, '<157>': 157, 'STORE_SUBSCR': 60, '<211>': 211, '<7>': 7, '<139>': 139, '<158>': 158, 'BUILD_TUPLE': 102, 'BINARY_POWER': 19, '<250>': 250, '<242>': 242, '<223>': 223, '<203>': 203, 'BUILD_CLASS': 89, '<181>': 181, 'UNARY_CONVERT': 13, 'BINARY_MODULO': 22, 'DELETE_SLICE+3': 53, 'DELETE_SLICE+2': 52, 'IMPORT_FROM': 108, 'DELETE_ATTR': 96, 'RAISE_VARARGS': 130, '<115>': 115, 'PRINT_ITEM': 71, '<46>': 46, '<8>': 8, 'SLICE+0': 30, 'SLICE+1': 31, 'SLICE+2': 32, 'SLICE+3': 33, '<171>': 171, '<149>': 149, 'LOAD_DEREF': 136, 'LOAD_FAST': 124, '<37>': 37, '<202>': 202, '<166>': 166, '<235>': 235, '<210>': 210, '<218>': 218, '<170>': 170, '<154>': 154, '<109>': 109, '<243>': 243, 'LOAD_ATTR': 105, 'BINARY_FLOOR_DIVIDE': 26, '<231>': 231, 'BINARY_RSHIFT': 63, '<234>': 234, '<213>': 213, '<178>': 178, '<180>': 180, '<81>': 81, '<150>': 150, '<232>': 232, '<192>': 192, '<190>': 190, '<17>': 17, '<36>': 36, 'BINARY_SUBSCR': 25, 'YIELD_VALUE': 86, 'ROT_THREE': 3, 'STORE_SLICE+0': 40, 'STORE_SLICE+1': 41, 'STORE_SLICE+2': 42, 'STORE_SLICE+3': 43, 'UNARY_INVERT': 15, '<165>': 165, '<167>': 167, '<248>': 248, 'PRINT_NEWLINE': 72, '<155>': 155, '<252>': 252, '<189>': 189, 'INPLACE_DIVIDE': 58, 'BUILD_SLICE': 133, 'JUMP_ABSOLUTE': 113, '<253>': 253, 'MAKE_CLOSURE': 134, '<240>': 240, 'JUMP_FORWARD': 110}
checkFlag(flag)
computeStackDepth()
Compute the max stack depth.
Approach is to compute the stack effect of each basic block. Then find the path through the code with the largest total effect.
convertArgs()
Convert arguments from symbolic to concrete form
dump(io=None)
emit(*inst)
fixupOrder(blocks, default_next)
Fixup bad order introduced by DFS.
fixupOrderForward(blocks, default_next)
Make sure all JUMP_FORWARDs jump forward
fixupOrderHonorNext(blocks, default_next)
Fix one problem with DFS.
The DFS uses child block, but doesn't know about the special "next" block. As a result, the DFS can order blocks so that a block isn't next to the right block for implicit control transfers.
flattenGraph()
Arrange the blocks in order and resolve jumps
getBlocks()
getBlocksInOrder()
Return the blocks in reverse postorder
getCode()
Get a Python code object
getConsts()
Return a tuple for the const slot of the code object
Must convert references to code (MAKE_FUNCTION) to code objects recursively.
getContainedGraphs()
getRoot()
Return nodes appropriate for use with dominator
makeByteCode()
newBlock()
newCodeObject()
nextBlock(block=None)
setCellVars(names)
setDocstring(doc)
setFlag(flag)
setFreeVars(names)
sort_cellvars()
Sort cellvars in the order of varnames and prune from freevars.
startBlock(block)
startExitBlock()
super_init()
There are no known subclasses.