MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / traceData

Method traceData

chapter21/src/test/java/com/seaofnodes/simple/Eval2.java:385–392  ·  view source on GitHub ↗
( Node n, SB sb )

Source from the content-addressed store, hash-verified

383 sb.clear();
384 }
385 static void traceData( Node n, SB sb ) {
386 if( sb==null ) return;
387 IRPrinter.printLine(n,sb).unchar();
388 _print( n._type, F.get(n), sb.p('\t'), VISIT );
389 System.out.println(sb);
390 sb.clear();
391 VISIT.clear();
392 }
393
394 // Use type to print x as a string. Uses a new VISIT table so the debugger
395 // doesn't try to reuse VISIT if stopping mid-print. The trace code reuses

Callers 2

parallelAssignPhisMethod · 0.95
stepMethod · 0.95

Calls 6

printLineMethod · 0.95
_printMethod · 0.95
uncharMethod · 0.45
getMethod · 0.45
pMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected