[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)
commit4bfb4720725db60cf3be9955a83d8ac4aa32f188
tree96f9b1c65e6a11f754bf59d605f8b4fea2942244
parentb023d06bb0000db887d242eefe20ff5cc0592333
[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.

llvm-svn: 236566
llvm/include/llvm/IR/Statepoint.h
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp