Skip to content

Commit 556987c

Browse files
committed
Show callers we've already seen if it is in other paths
1 parent 4001d7b commit 556987c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source-map-mappings-wasm-api/who-calls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def print_callers(reversed_call_graph, args, function=None, depth=0, seen=set())
146146

147147
print_callers(reversed_call_graph, args, function=caller, depth=depth+1, seen=seen)
148148

149+
seen.remove(function)
150+
149151
def main():
150152
args = parser.parse_args()
151153
disassembly = disassemble(args)

0 commit comments

Comments
 (0)