MC: change runtime check to an assertion
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 17 Mar 2014 17:13:57 +0000 (17:13 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 17 Mar 2014 17:13:57 +0000 (17:13 +0000)
commit1e4d7d7ef77b7961e3d3ade1258c2039711c00ad
treed29a171778376b01031fe0fa80e423767d41e27a
parent5b5e5abd20e27217bf151c8bbf1da102e1a5c969
MC: change runtime check to an assertion

It is unclear how it would be possible to get M to be NULL in normal scenarios.
Change this to an assert rather than a runtime check as per dblakie's
suggestion.

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