Page MenuHomePhabricator

Proof of Concept: Allow ORE.emit to take a closure to delay building the remark object
AbandonedPublic

Authored by anemet on Sep 15 2017, 12:33 PM.

Details

Reviewers
None
Summary

In the lambda we are now returning the remark by value so we need to preserve
its type in the insertion operator. This requires making the insertion
operator generic.

I've also converted a few cases to use the new API. It seems to work pretty
well. See the LoopUnroller for a slightly more interesting case.

Event Timeline

anemet created this revision.Sep 15 2017, 12:33 PM
anemet updated this revision to Diff 115486.Sep 15 2017, 1:56 PM

Implement DiagHandler::isAnyRemarkEnabled(void)

anemet updated this revision to Diff 115493.Sep 15 2017, 2:18 PM

Add comment

anemet abandoned this revision.Nov 6 2017, 2:19 PM

This was committed a while ago.