Add an abstraction to handle patchpoint operands.
authorAndrew Trick <atrick@apple.com>
Tue, 19 Nov 2013 03:29:56 +0000 (03:29 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 19 Nov 2013 03:29:56 +0000 (03:29 +0000)
commit8ddf988ef4aaa8275bb2b58e9ef8b65ef8009f8c
treea162c337e7e7432977026200878a746727c4ba4a
parentba0f991a78706068cc2e6a1c4ef4b0d8f7ce748b
Add an abstraction to handle patchpoint operands.

Hard-coded operand indices were scattered throughout lowering stages
and layers. It was super bug prone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195093 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/StackMaps.h
lib/CodeGen/StackMaps.cpp
lib/Target/X86/X86MCInstLower.cpp