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

Method TryInferFramePointer

deps/v8/tools/grokdump.py:2422–2431  ·  view source on GitHub ↗

Assume we have a framepointer if we find 4 consecutive links

(self, slot, address)

Source from the content-addressed store, hash-verified

2420 print("")
2421
2422 def TryInferFramePointer(self, slot, address):
2423 """ Assume we have a framepointer if we find 4 consecutive links """
2424 for i in range(0, 4):
2425 if not self.reader.IsExceptionStackAddress(address):
2426 return 0
2427 next_address = self.reader.ReadUIntPtr(address)
2428 if next_address == address:
2429 return 0
2430 address = next_address
2431 return slot
2432
2433 def TryInferContext(self, address):
2434 if self.context:

Callers 1

InterpretMemoryMethod · 0.95

Calls 3

ReadUIntPtrMethod · 0.80
rangeFunction · 0.50

Tested by

no test coverage detected