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

Method traceData

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

Source from the content-addressed store, hash-verified

381 sb.clear();
382 }
383 static void traceData( Node n, SB sb ) {
384 if( sb==null ) return;
385 IRPrinter.printLine(n,sb).unchar();
386 _print( n._type, F.get(n), sb.p('\t'), VISIT );
387 System.out.println(sb);
388 sb.clear();
389 VISIT.clear();
390 }
391
392 // Use type to print x as a string. Uses a new VISIT table so the debugger
393 // 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