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

Method traceData

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

Source from the content-addressed store, hash-verified

413 sb.clear();
414 }
415 static void traceData( Node n, SB sb ) {
416 if( sb==null ) return;
417 IRPrinter.printLine(n,sb).unchar();
418 _print( n._type, F.get(n), sb.p('\t'), VISIT );
419 System.out.println(sb);
420 sb.clear();
421 VISIT.clear();
422 }
423
424 // Use type to print x as a string. Uses a new VISIT table so the debugger
425 // 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