(self, tagged_address)
| 2199 | return None |
| 2200 | |
| 2201 | def SenseMap(self, tagged_address): |
| 2202 | if self.heap.IsPointerCompressed(): |
| 2203 | # Interpret the first page as the read-only space in pointer-compression. |
| 2204 | page = self.GetPageAddress(tagged_address) |
| 2205 | tagged_page = page & 0xFFFFFFFF |
| 2206 | if tagged_page == 0: |
| 2207 | offset = self.GetPageOffset(tagged_address) |
| 2208 | lookup_key = ("read_only_space", offset) |
| 2209 | known_map_info = KNOWN_MAPS.get(lookup_key) |
| 2210 | if known_map_info: |
| 2211 | known_map_type, known_map_name = known_map_info |
| 2212 | return KnownMap(self, known_map_name, known_map_type) |
| 2213 | if self.IsInKnownMapSpace(tagged_address): |
| 2214 | offset = self.GetPageOffset(tagged_address) |
| 2215 | lookup_key = ("old_space", offset) |
| 2216 | known_map_info = KNOWN_MAPS.get(lookup_key) |
| 2217 | if known_map_info: |
| 2218 | known_map_type, known_map_name = known_map_info |
| 2219 | return KnownMap(self, known_map_name, known_map_type) |
| 2220 | found_map = self.heap.FindMap(tagged_address) |
| 2221 | if found_map: |
| 2222 | return found_map |
| 2223 | return None |
| 2224 | |
| 2225 | def FindObjectOrSmi(self, tagged_address): |
| 2226 | """When used as a mixin in place of V8Heap.""" |
no test coverage detected