[Statepoint] Clean up StatepointLowering: symbolic constants.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 6 May 2015 02:36:31 +0000 (02:36 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 6 May 2015 02:36:31 +0000 (02:36 +0000)
commit93a4a7fe0d7f25ccd66b64f7cc0c9dc746a0908f
treec065d8da59cb432e91bb1f47e1b80303fb5c4eec
parentb9a2e8271fe63c00fff87a4972e8dc3855ab828b
[Statepoint] Clean up StatepointLowering: symbolic constants.

For accessors in the `Statepoint` class, use symbolic constants for
offsets into the argument vector instead of literals.  This makes the
code intent clearer and simpler to change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236566 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Statepoint.h
lib/CodeGen/SelectionDAG/StatepointLowering.cpp