From e6bf45cdaec2138173eb728e441d8a2f9d49b65d Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Tue, 19 Nov 2013 18:29:45 +0000 Subject: Obvious pasto survived a couple rounds of cleanup. Caught by Aaron Ballman. llvm-svn: 195138 --- llvm/lib/CodeGen/StackMaps.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp index 86e51a1c797..40893ea247f 100644 --- a/llvm/lib/CodeGen/StackMaps.cpp +++ b/llvm/lib/CodeGen/StackMaps.cpp @@ -298,8 +298,7 @@ void StackMaps::serializeToStackMapSection() { } } else { - assert((Loc.LocType != Location::Register - && Loc.LocType != Location::Register) && + assert(Loc.LocType != Location::Register && "Missing location register"); } AP.OutStreamer.EmitIntValue(Loc.LocType, 1); -- cgit v1.2.3