Page MenuHomePhabricator

[Attributor][NFC] Use a BumpPtrAllocator to allocate `AbstractAttribute`s
ClosedPublic

Authored by jdoerfert on Sun, Mar 22, 11:59 PM.

Details

Summary

We create a lot of AbstractAttributes and they live as long as
the Attributor does. It seems reasonable to allocate them via a
BumpPtrAllocator owned by the Attributor.

Diff Detail

Event Timeline

jdoerfert created this revision.Sun, Mar 22, 11:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptSun, Mar 22, 11:59 PM
baziotis accepted this revision.Mon, Mar 23, 7:10 AM

Seems reasonable.

This revision is now accepted and ready to land.Mon, Mar 23, 7:10 AM
This revision was automatically updated to reflect the committed changes.