[PlaceSafepoints] Cleanup InsertSafepointPoll function
authorPhilip Reames <listmail@philipreames.com>
Tue, 26 May 2015 21:03:23 +0000 (21:03 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 26 May 2015 21:03:23 +0000 (21:03 +0000)
commitd59f9706687d61ee6d646ddf07c5658197b48f9b
treec715567f098af67b4abb00e8116d32a57934ba90
parentea8a3963b4098f0f87fba384747bc32b15243f03
[PlaceSafepoints] Cleanup InsertSafepointPoll function

While working on another change, I noticed that the naming in this function was mildly deceptive.  While fixing that, I took the oppurtunity to modernize some of the code.  NFC intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238252 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/BasicBlock.h
include/llvm/IR/Instruction.h
lib/IR/BasicBlock.cpp
lib/IR/Instruction.cpp
lib/Transforms/Scalar/PlaceSafepoints.cpp