summaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-11-19 18:29:45 +0000
committerAndrew Trick <atrick@apple.com>2013-11-19 18:29:45 +0000
commit0d63cf08121c305ed1fe6c054c4fad33caf024f6 (patch)
treea8de101faba59ffd8d354dc60c64a7950b5afe8a /lib/CodeGen/StackMaps.cpp
parentda1ad53f6a0dd4aa60c99e4f949826c2d40dbc58 (diff)
downloadllvm-0d63cf08121c305ed1fe6c054c4fad33caf024f6.tar.gz
llvm-0d63cf08121c305ed1fe6c054c4fad33caf024f6.tar.bz2
llvm-0d63cf08121c305ed1fe6c054c4fad33caf024f6.tar.xz
Obvious pasto survived a couple rounds of cleanup.
Caught by Aaron Ballman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackMaps.cpp')
-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);