This is an archive of the discontinued LLVM Phabricator instance.

[Function] Clean up {prefix,prologue} data routines (NFC)
ClosedPublic

Authored by vsk on Sep 23 2015, 3:31 PM.

Details

Summary

Factor out some common code used to get+set function prefix/prologue
data. This may come in handy if we ever decide to store personality
functions in the same way we store prefix/prologue data.

Also, update the number of bits to reflect how many we actually use to
store calling convention identifiers.

Diff Detail

Event Timeline

vsk updated this revision to Diff 35562.Sep 23 2015, 3:31 PM
vsk retitled this revision from to [Function] Clean up {prefix,prologue} data routines (NFC).
vsk updated this object.
vsk added a reviewer: pcc.
vsk added a subscriber: llvm-commits.
vsk accepted this revision.Oct 6 2015, 1:42 PM
vsk added a reviewer: vsk.
  • Removed unrelated comment update about calling convention bits.
  • Added doc comment to setFunctionData().
  • Annotated calls to setFunctionData() with /*Bit=*/ comments.

Reviewed by bogner and closed by ec871634e.

This revision is now accepted and ready to land.Oct 6 2015, 1:42 PM
vsk closed this revision.Nov 15 2015, 3:49 PM

Closing old review.