[PATCH] D13370: [RewriteStatepointsForGC] Cosmetic cleanup, NFC

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 18:36:40 PDT 2015


sanjoy created this revision.
sanjoy added reviewers: reames, swaroop.sridhar.
sanjoy added a subscriber: llvm-commits.
Herald added a subscriber: sanjoy.

A series of cosmetic cleanup changes to RewriteStatepointsForGC:

  - Rename variables to LLVM style
  - Remove some redundant asserts
  - Remove an unsued `Pass *` parameter
  - Remove unnecessary variables
  - Use C++11 idioms where applicable
  - Pass CallSite by value, not reference

http://reviews.llvm.org/D13370

Files:
  lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13370.36325.patch
Type: text/x-patch
Size: 26151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151002/b178ca88/attachment.bin>


More information about the llvm-commits mailing list