OSDN Git Service

turn an assert into a proper check, fixing crash on invalid here:
authorChris Lattner <sabre@nondot.org>
Sat, 10 Apr 2010 18:01:25 +0000 (18:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Apr 2010 18:01:25 +0000 (18:01 +0000)
commitf7240de877e790d9e377c1fe49b6d7a14c1a9674
tree3bfe737ab919ea5f39342848dad3c3c6bb870927
parent47e476609bd3a0d2fe6291ac4a860b9306d97442
turn an assert into a proper check, fixing crash on invalid here:

$ llvm-as t.ll
llvm-as: t.ll:1:6: error: expected 'type' after '='
%0 = = type { i32, float, float, double }
     ^

PR6810.

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