swift
8c4df3b4 - Reflection: Traffic in RemoteRefs.

Commit
7 years ago
Reflection: Traffic in RemoteRefs. Instead of passing around raw local pointers and references, and spreading tricky offset arithmetic around with the Local/RemoteAddress fields in ReflectionInfo, have the TypeRefBuilder code use RemoteRefs everywhere, which keep the remote/local mapping together in one unit and provide centralized API for this logic. This doesn't yet change how code uses the RemoteRef address data to follow pointers across objects, for things like reading type refs, but that should be much easier to do after this lands.
Author
Committer
Parents
Loading