MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / computeStackDepth

Method computeStackDepth

Lib/compiler/pyassem.py:335–363  ·  view source on GitHub ↗

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.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getCodeMethod · 0.95

Calls 2

getBlocksMethod · 0.80
getInstructionsMethod · 0.80

Tested by

no test coverage detected