OSDN Git Service

Missed removing one of the assert()'s from the LLVMCreateDisasmCPU() library
authorKevin Enderby <enderby@apple.com>
Thu, 23 May 2013 00:32:34 +0000 (00:32 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 23 May 2013 00:32:34 +0000 (00:32 +0000)
commitb737702efd96d2902c7063152747e8f193aa1fbc
tree9eb83ab6c6f5fa7b78c060741213f9dbab457da8
parent549221f18c8248cd5daa8967ba999b91b1fe2584
Missed removing one of the assert()'s from the LLVMCreateDisasmCPU() library
API with my 176880 revision.  If a bad Triple is passed in it can also assert.
In this case too it should just return 0 to indicate failure to create the
disassembler.

rdar://13955214

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