(addr)
| 387 | } |
| 388 | |
| 389 | function is_likely_object(addr) { |
| 390 | let address = int(addr); |
| 391 | if (!Number.isSafeInteger(address) || address % 2 == 0) return false; |
| 392 | |
| 393 | // the first field in all objects must be a map pointer |
| 394 | return is_map(poim(address - 1)); |
| 395 | } |
| 396 | |
| 397 | function find_object_near(aligned_addr, max_distance, step_op) { |
| 398 | if (!step_op) { |