diff options
-rw-r--r-- | lib/CodeGen/StackMaps.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/StackMaps.cpp b/lib/CodeGen/StackMaps.cpp index 86e51a1..40893ea 100644 --- a/lib/CodeGen/StackMaps.cpp +++ b/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); |