MCPcopy Index your code
hub / github.com/nodejs/node / Print

Method Print

deps/v8/tools/grokdump.py:1770–1777  ·  view source on GitHub ↗
(self, p)

Source from the content-addressed store, hash-verified

1768 heap.reader.ReadU32(self.address + self.InstructionSizeOffset())
1769
1770 def Print(self, p):
1771 lines = self.heap.reader.GetDisasmLines(self.entry, self.instruction_size)
1772 p.Print("Code(%s) {" % self.heap.reader.FormatIntPtr(self.address))
1773 p.Indent()
1774 p.Print("instruction_size: %d" % self.instruction_size)
1775 p.PrintLines(self._FormatLine(line) for line in lines)
1776 p.Dedent()
1777 p.Print("}")
1778
1779 def _FormatLine(self, line):
1780 return FormatDisasmLine(self.entry, self.heap, line)

Callers

nothing calls this directly

Calls 7

_FormatLineMethod · 0.95
GetDisasmLinesMethod · 0.80
IndentMethod · 0.80
PrintLinesMethod · 0.80
DedentMethod · 0.80
PrintMethod · 0.45
FormatIntPtrMethod · 0.45

Tested by

no test coverage detected