Page MenuHomePhabricator

[Orc][NFC] Turn LLJIT member ObjTransformLayer into unique_ptr
ClosedPublic

Authored by sgraenitz on Thu, Jan 14, 7:22 AM.

Details

Summary

All other layers in LLJIT are stored as unique_ptr's already. At this point, it is not strictly necessary for ObjTransformLayer, but it makes a follow-up change more straightforward.

Diff Detail

Event Timeline

sgraenitz created this revision.Thu, Jan 14, 7:22 AM
sgraenitz requested review of this revision.Thu, Jan 14, 7:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Jan 14, 7:22 AM

The follow-up change is D94690. It also moves the instantiation of ObjLinkingLayer from the initialization list to the ctor body.

lhames accepted this revision.Thu, Jan 14, 12:45 PM

LGTM!

This revision is now accepted and ready to land.Thu, Jan 14, 12:45 PM
This revision was landed with ongoing or failed builds.Fri, Jan 15, 3:54 AM
This revision was automatically updated to reflect the committed changes.