search for: personalityfnmap

Displaying 1 result from an estimated 1 matches for "personalityfnmap".

2015 Oct 10
2
[RFC] Clean up the way we store optional Function data
...tUser. static void ReleaseIndirectUser(Constant *C); }; Here's how to attach prefix data to a Function: IU = IndirectUser::GetOrCreateIndirectUser(PrefixData); PrefixDataMap[F] = IU; Prologue data and personality functions work the same way (though we'll need to add a PersonalityFnMap). If two functions share prefix/prologue data, or personalities, they get the same IndirectUser (with a bumped refcount). This addresses all the points in the previous section. Implementation details ====================== When an IndirectUser is constructed, it adds itself to its Constant'...