summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/StackMaps.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/StackMaps.cpp b/lib/CodeGen/StackMaps.cpp
index 86e51a1c79..40893ea247 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);