[RS4GC] Cosmetic cleanup, NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 7 Oct 2015 02:39:18 +0000 (02:39 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 7 Oct 2015 02:39:18 +0000 (02:39 +0000)
commit6a2f1276e50a462dfafdc579955684f6516f3cdb
tree267a5d835cbf67be2ac79ee48e5f1420824452c8
parent068c579c160bbabc1641b8d532ae35c1018010d1
[RS4GC] Cosmetic cleanup, NFC

Summary:
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

Reviewers: reames, swaroop.sridhar

Subscribers: llvm-commits, sanjoy

Differential Revision: http://reviews.llvm.org/D13370

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249508 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp