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

Method __init__

deps/v8/tools/grokdump.py:1764–1768  ·  view source on GitHub ↗
(self, heap, map, address)

Source from the content-addressed store, hash-verified

1762 Code.CODE_ALIGNMENT_MASK) & ~Code.CODE_ALIGNMENT_MASK
1763
1764 def __init__(self, heap, map, address):
1765 HeapObject.__init__(self, heap, map, address)
1766 self.entry = self.address + Code.HeaderSize(heap)
1767 self.instruction_size = \
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)

Callers

nothing calls this directly

Calls 4

InstructionSizeOffsetMethod · 0.95
HeaderSizeMethod · 0.80
ReadU32Method · 0.80
__init__Method · 0.45

Tested by

no test coverage detected