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

Method FindObjectOrSmi

deps/v8/tools/grokdump.py:2225–2233  ·  view source on GitHub ↗

When used as a mixin in place of V8Heap.

(self, tagged_address)

Source from the content-addressed store, hash-verified

2223 return None
2224
2225 def FindObjectOrSmi(self, tagged_address):
2226 """When used as a mixin in place of V8Heap."""
2227 found_obj = self.SenseObject(tagged_address)
2228 if found_obj:
2229 return found_obj
2230 if self.IsSmi(tagged_address):
2231 return self.FormatSmi(tagged_address)
2232 else:
2233 return UnknownObject(self, tagged_address)
2234
2235 def FindObject(self, tagged_address):
2236 """When used as a mixin in place of V8Heap."""

Callers

nothing calls this directly

Calls 4

SenseObjectMethod · 0.95
FormatSmiMethod · 0.95
UnknownObjectClass · 0.85
IsSmiMethod · 0.80

Tested by

no test coverage detected