This is an archive of the discontinued LLVM Phabricator instance.

[Statepoints][NFC] Add Statepoint::operator bool()
ClosedPublic

Authored by sanjoy on Jun 22 2015, 7:11 PM.

Details

Summary

This allows the "if (Statepoint SP = Statepoint(I))" idiom.

(I don't think this change needs review, this was uploaded to
phabricator to provide context for later dependent changes.)

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 28189.Jun 22 2015, 7:11 PM
sanjoy retitled this revision from to [Statepoints][NFC] Add Statepoint::operator bool().
sanjoy updated this object.
sanjoy edited the test plan for this revision. (Show Details)
reames accepted this revision.Jun 24 2015, 11:37 AM
reames added a reviewer: reames.
reames added a subscriber: reames.

LGTM

This revision is now accepted and ready to land.Jun 24 2015, 11:37 AM
This revision was automatically updated to reflect the committed changes.