OSDN Git Service

MC: simplify internal function call parameter
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 29 Jul 2017 20:03:02 +0000 (20:03 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 29 Jul 2017 20:03:02 +0000 (20:03 +0000)
commitbc4ee245efc20a41997aa0120c10ae268dbda825
tree64a408770e1ca931e54d09f1fa9de41e2b006223
parent1a57e42f2ac86473c0ac48a2510dd534f83b8b1c
MC: simplify internal function call parameter

Rather than passing along most of the parameters, pass a reference to
the MCDWARFrameInfo instead.  This makes it easier to pass additional
information about the frame to the checks.  We need to keep the extra
constructor for the Key around to allow the construction of the null and
tombstone keys.  NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309493 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDwarf.cpp