This is an archive of the discontinued LLVM Phabricator instance.

[ORC] Move 'CompleteAllocation' lambda body into its own method.
AcceptedPublic

Authored by lhames on Jan 15 2023, 10:18 AM.

Details

Summary

Upcoming changes will add more complexity to CompleteAllocation. Moving it into
its own method gives it room to grow without impacting the readability of the
allocate method.

Diff Detail

Event Timeline

lhames created this revision.Jan 15 2023, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2023, 10:18 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
lhames requested review of this revision.Jan 15 2023, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2023, 10:18 AM

I am not the author of the underlying code, but it looks to me like a pure API extension with no functional change. Is that right?

Yep -- just moves the lambda body out into a method. NFC.

This revision is now accepted and ready to land.Feb 20 2023, 11:27 AM