diff options
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackMaps.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |