X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FAsmParser%2FLLParser.cpp;h=bab4f9d32821cf88ddbfad24f608d2911aff5cb3;hp=a5072be50a85f198659da46bbfe01cc45db11957;hb=732f05c41f177a0bc4d47e93a5d02120f146cb4c;hpb=38fdb7d9fc40e9f29c3156b6625cac8d91d562e1 diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index a5072be50a8..bab4f9d3282 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -2549,6 +2549,7 @@ bool LLParser::ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V, return Error(ID.Loc, "constant expression type mismatch"); return false; } + llvm_unreachable("Invalid ValID"); } bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) {