MC: make WinEH opcode an opaque value
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 17 Jul 2014 03:08:50 +0000 (03:08 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 17 Jul 2014 03:08:50 +0000 (03:08 +0000)
commitadcb2d163697501745445aea2281a18bff4a571f
treeb81ff576908fc92f3bea8c93614d8888f4193f03
parent8f609696e0677e9ffc15a39bca6e009aab201422
MC: make WinEH opcode an opaque value

This makes the opcode an opaque value (unsigned int) rather than the
enumeration.  This permits the use of target specific operands.

Split out the generic type into a MCWinEH header and add a supporting
MCWin64EH::Instruction to abstract out the selection of the opcode and
construction of the actual instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213221 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCWin64EH.h
include/llvm/MC/MCWinEH.h [new file with mode: 0644]
lib/MC/MCStreamer.cpp
lib/MC/MCWin64EH.cpp