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

Method traceData

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

Source from the content-addressed store, hash-verified

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