Package compiler :: Module pyassem :: Class StackDepthTracker
[hide private]
[frames] | no frames]

_ClassType StackDepthTracker

Instance Methods [hide private]
 
findDepth(self, insts, debug=0)
 
UNPACK_SEQUENCE(self, count)
 
BUILD_TUPLE(self, count)
 
BUILD_LIST(self, count)
 
CALL_FUNCTION(self, argc)
 
CALL_FUNCTION_VAR(self, argc)
 
CALL_FUNCTION_KW(self, argc)
 
CALL_FUNCTION_VAR_KW(self, argc)
 
MAKE_FUNCTION(self, argc)
 
MAKE_CLOSURE(self, argc)
 
BUILD_SLICE(self, argc)
 
DUP_TOPX(self, argc)
Class Variables [hide private]
  effect = {'BUILD_CLASS': -2, 'BUILD_MAP': 1, 'COMPARE_OP': -1,...
  patterns = [('BINARY_', -1), ('LOAD_', 1)]
Class Variable Details [hide private]

effect

Value:
{'BUILD_CLASS': -2,
 'BUILD_MAP': 1,
 'COMPARE_OP': -1,
 'DELETE_ATTR': -1,
 'DELETE_SLICE+0': -1,
 'DELETE_SLICE+1': -2,
 'DELETE_SLICE+2': -2,
 'DELETE_SLICE+3': -3,
...